summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-03-30 16:04:34 -0700
committerEric Anholt <[email protected]>2018-06-06 13:46:55 -0700
commit833c4046007f22ce1da0e1c2b89e8f1892f8d38e (patch)
tree41fc2aed75e84437d8cc83f0d6ecb84942832104 /src/mesa
parentf69473a712147c27fefbe83b9beacb251969fd92 (diff)
nir: Look into uniform structs for samplers when counting num_textures.
mesa/st decides whether to update samplers after a program change based on whether num_textures is nonzero. By not counting samplers in a uniform struct, we would segfault in KHR-GLES3.shaders.struct.uniform.sampler_vertex if it was run in the same context after a non-vertex-shader-uniform testcase (as is the case during a full conformance run). v2: Implement using two separate pure functions instead of updating pointers. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions