summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_transpose_matrix.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-10-18 21:12:07 +1300
committerChris Forbes <[email protected]>2014-10-29 21:25:20 +1300
commit0d5f4960a468947f9862bf5de2a71fce63b50cf7 (patch)
treed15de0588287644ec0c8c682fa96fe311630e6bb /src/glx/indirect_transpose_matrix.c
parentf87c7008958cdb095efa1cfb29ca8f3c9b9066e4 (diff)
mesa: Fix order of errors for glDrawTransformFeedbackStream
The OpenGL 4.0 core profile specification, section 2.17.3 Transform Feedback Draw Operations says: "The error INVALID_VALUE is generated if <stream> is greater than or equal to the value of MAX_VERTEX_STREAMS. ... The error INVALID_OPERATION is generated if EndTransformFeedback has never been called while the object named by id was bound." Fixes the piglit test: ARB_transform_feedback3/arb_transform_feedback3-draw_using_invalid_stream_index (with the test itself fixed to eliminate an unrelated failure) Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/indirect_transpose_matrix.c')
0 files changed, 0 insertions, 0 deletions