Add option to unwrap I/O block aggregates in reflection
* We follow similar rules to uniform block exploding.
This commit is contained in:
parent
567396b6b4
commit
1905069857
10 changed files with 177 additions and 45 deletions
|
|
@ -246,6 +246,7 @@ typedef enum {
|
|||
EShReflectionIntermediateIO = (1 << 2), // reflect inputs and outputs to program, even with no vertex shader
|
||||
EShReflectionSeparateBuffers = (1 << 3), // buffer variables and buffer blocks are reflected separately
|
||||
EShReflectionAllBlockVariables = (1 << 4), // reflect all variables in blocks, even if they are inactive
|
||||
EShReflectionUnwrapIOBlocks = (1 << 5), // unwrap input/output blocks the same as with uniform blocks
|
||||
} EShReflectionOptions;
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue