r300/compiler: add support for saturate output modifier in r500 vertex shaders
authorMarek Olšák <maraeo@gmail.com>
Sat, 2 Feb 2013 03:59:27 +0000 (04:59 +0100)
committerMarek Olšák <maraeo@gmail.com>
Wed, 6 Feb 2013 13:45:16 +0000 (14:45 +0100)
commitae8696c7eeae939428a52c0d5113b5b08b049395
tree5b6502bc685284538925751c09c8e8e92ee1ada0
parent499f7de12e3484f75d30dd314b00c76cb37d8d9f
r300/compiler: add support for saturate output modifier in r500 vertex shaders

The GLSL compiler can simplify clamp(v,0,1) to saturate. The state tracker
doesn't use it yet, but it will.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/r300/compiler/r3xx_vertprog.c
src/gallium/drivers/r300/r300_reg.h