summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-08-31 16:04:19 -0700
committerKenneth Graunke <[email protected]>2012-09-10 20:56:11 -0700
commit354f2cb5c7330a7d43cf0b177daf758d2aa31e0a (patch)
tree0011efd1f7285747d20dfed7ab22281467393a76 /include
parent87389d4e5c05008b3fcb8a5d5a324cc44aa3b1c4 (diff)
glsl: Generate compile errors for explicit blend indices < 0 or > 1.
According to the GLSL 4.30 specification, this is a compile time error. Earlier specifications don't specify a behavior, but since 0 and 1 are the only valid indices for dual source blending, it makes sense to generate the error. Fixes (the fixed version of) piglit's layout-12.frag. NOTE: This is a candidate for the 9.0 branch. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions