summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-12-04 17:52:00 -0800
committerMatt Turner <[email protected]>2012-12-07 14:11:13 -0800
commit970ec8dbc3491615964808ce1563d34d08e806cb (patch)
tree21dd93c57d7aafad8c30d6dd2bef833c90e82e01 /src/glsl/glcpp/glcpp.c
parentcfa752cd332ff1cfac403001f3833476ba6d978d (diff)
mesa: Ignore size and offset parameters for BindBufferRange when buffer is 0
The ES 3 conformance suite unbinds buffers (by binding buffer 0) and passes zero for the size and offset, which the spec explicitly disallows. Otherwise, this seems like a reasonable thing to do. Khronos will be changing the spec to allow this (bug 9765). Fixes es3conform's transform_feedback_init_defaults test. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/glcpp.c')
0 files changed, 0 insertions, 0 deletions