WIP: HLSL: add refection queries for structuredbuffer counter blocks
This adds TProgram::getUniformBlockCounterIndex(int index), which returns the index the block of the counter buffer associated with the block of the passed in index, if any, or -1 if none.
This commit is contained in:
@@ -6,7 +6,7 @@ gl_FragCoord origin is upper left
|
||||
0:7 Function Parameters:
|
||||
0:7 'pos' ( in uint)
|
||||
0:? Sequence
|
||||
0:8 move second child to first child ( temp void)
|
||||
0:8 move second child to first child ( temp 4-component vector of float)
|
||||
0:8 indirect index (layout( row_major std430) buffer 4-component vector of float)
|
||||
0:8 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of 4-component vector of float)
|
||||
0:8 'sbuf_a' (layout( row_major std430) buffer block{layout( row_major std430) buffer implicitly-sized array of 4-component vector of float @data})
|
||||
@@ -70,7 +70,7 @@ gl_FragCoord origin is upper left
|
||||
0:7 Function Parameters:
|
||||
0:7 'pos' ( in uint)
|
||||
0:? Sequence
|
||||
0:8 move second child to first child ( temp void)
|
||||
0:8 move second child to first child ( temp 4-component vector of float)
|
||||
0:8 indirect index (layout( row_major std430) buffer 4-component vector of float)
|
||||
0:8 @data: direct index for structure (layout( row_major std430) buffer implicitly-sized array of 4-component vector of float)
|
||||
0:8 'sbuf_a' (layout( row_major std430) buffer block{layout( row_major std430) buffer implicitly-sized array of 4-component vector of float @data})
|
||||
|
||||
Reference in New Issue
Block a user