glsl-1.10: Add tests for condition on saturated value

Merged Yevhenii Kolesnikov requested to merge GL/piglit:test/cmod-cmp-to-add into master

On Intel GPUs these tests produce code like

add.sat dest  src0  scr1
cmp.xx  null  src0  src2

where src1 == -src2.

Because saturation comes before applying conditional modifier, it should not be propagated, unless conditional modifier (.xx) is .g or .le.

Original issue: mesa#2610 (closed) See also: mesa!4167 (merged)

Signed-off-by: Yevhenii Kolesnikov

Edited by Yevhenii Kolesnikov

Merge request reports