aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/link_varyings.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-30 15:19:49 -0700
committerJason Ekstrand <[email protected]>2015-10-02 14:19:39 -0700
commitcd2132f45b8aba7a47502d864b51c11519b4a8f0 (patch)
tree4012b86ffc29057a02d8778530a54fddd5df9f56 /src/glsl/link_varyings.h
parenta7e0f755bcb626ed8f8ca773b7d193dd82364513 (diff)
glsl/types: Make subroutine types have a single matrix column
That way, if we do the usual thing of multiplying vector_elements by matrix_columns we get the actual number of components in the type as per component_slots(). While we're at it, we also switch to using the actual C++ field initializers for vector_elements and matrix_columns. Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/glsl/link_varyings.h')
0 files changed, 0 insertions, 0 deletions