summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-11-13 11:13:05 +0200
committerTapani Pälli <[email protected]>2015-11-26 08:01:31 +0200
commitc2e146f4879b806e7178b8145645268c1ce0b4cd (patch)
tree048342c20d14b19ce55f648d9b1327ed5dd657b8 /src/mesa/main/config.h
parent22d2dda03be32d23bc8e9f5823a4f2469737ddbe (diff)
mesa: error out in indirect draw when vertex bindings mismatch
Patch adds additional mask for tracking which vertex arrays have associated vertex buffer binding set. This array can be directly compared to which vertex arrays are enabled and should match when drawing. Fixes following CTS tests: ES31-CTS.draw_indirect.negative-noVBO-arrays ES31-CTS.draw_indirect.negative-noVBO-elements v2: update mask in vertex_array_attrib_binding v3: rename mask and make it track _BoundArrays which matches what was actually originally wanted (Fredrik Höglund) v4: code cleanup, check for GLES 3.1 (Fredrik Höglund) Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
0 files changed, 0 insertions, 0 deletions