diff options
author | Kenneth Graunke <[email protected]> | 2012-08-31 16:04:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-09-10 20:56:11 -0700 |
commit | 354f2cb5c7330a7d43cf0b177daf758d2aa31e0a (patch) | |
tree | 0011efd1f7285747d20dfed7ab22281467393a76 /src/glsl/ir_reader.h | |
parent | 87389d4e5c05008b3fcb8a5d5a324cc44aa3b1c4 (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 'src/glsl/ir_reader.h')
0 files changed, 0 insertions, 0 deletions