diff options
author | Jason Ekstrand <[email protected]> | 2015-09-30 15:19:49 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-02 14:19:39 -0700 |
commit | cd2132f45b8aba7a47502d864b51c11519b4a8f0 (patch) | |
tree | 4012b86ffc29057a02d8778530a54fddd5df9f56 /src/glsl/test_optpass.cpp | |
parent | a7e0f755bcb626ed8f8ca773b7d193dd82364513 (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/test_optpass.cpp')
0 files changed, 0 insertions, 0 deletions