diff options
author | Ian Romanick <[email protected]> | 2016-12-05 11:51:54 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-12-12 17:17:12 -0800 |
commit | a0ce9ff8c49c03d8e952c26ac3e9274ac2f24c8c (patch) | |
tree | de642e7685722b57de3b70f8ec1366d49c9798f6 /src/gallium/auxiliary | |
parent | 75149088bea168a10f47df08fc62bcfeed744ce9 (diff) |
nir: Only float and double types can be matrices
In 19a541f (nir: Get rid of nir_constant_data) a number of places that
operated on nir_constant::values were mechanically converted to operate
on the whole array without regard for the base type. Only
GLSL_TYPE_FLOAT and GLSL_TYPE_DOUBLE can be matrices, so only those
types can have data in the non-0 array element.
See also b870394.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions