diff options
author | Kenneth Graunke <[email protected]> | 2014-09-11 22:07:41 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-09-12 16:35:39 -0700 |
commit | 7865026c04f6cc36dc81f993bc32ddda2806ecb5 (patch) | |
tree | 8f44c96d4ebf77d3bba52cb7438ac3c5de7a666e /docs | |
parent | 2408f166db1d81f2e9cc86b3f413ddba5ba537fa (diff) |
i965/vec4: Make type_size() return 0 for samplers.
The FS backend has always used 0, and the VS backend has always used 1.
I think 1 is just working around other problems, and is incorrect.
Samplers are baked in; nothing uses the UNIFORM register we would
create, and we shouldn't upload any constant values for them.
Fixes ES3-CTS.shaders.struct.uniform.sampler_array_vertex.
Signed-off-by: Kenneth Graunke <[email protected]>
Cc: [email protected]
Reviewed-by: Ian Romanick <[email protected]>
Tested-by: Ian Romanick <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions