feat: add option to map unused uniforms
This commit is contained in:
parent
5aa896ae05
commit
ee04ba0786
7 changed files with 21 additions and 5 deletions
|
|
@ -1843,6 +1843,8 @@ void TShader::setShiftUavBinding(unsigned int base) { setShiftBinding(EResUa
|
|||
void TShader::setShiftSsboBinding(unsigned int base) { setShiftBinding(EResSsbo, base); }
|
||||
// Enables binding automapping using TIoMapper
|
||||
void TShader::setAutoMapBindings(bool map) { intermediate->setAutoMapBindings(map); }
|
||||
void TShader::setMapUnusedUniforms() { intermediate->setMapUnusedUniforms(); }
|
||||
|
||||
// Enables position.Y output negation in vertex shader
|
||||
|
||||
// Fragile: currently within one stage: simple auto-assignment of location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue