vc4: Mark the driver as supporting fragment color clamping in rast.
authorEric Anholt <eric@anholt.net>
Tue, 17 May 2016 19:15:54 +0000 (12:15 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 18 May 2016 01:07:39 +0000 (18:07 -0700)
commit734fe41092e8ad87a9bfaac24c3603d2bb6df1b2
tree372fd70282ee3094fdb567792d74c15092a40c0e
parent8835eb689b51593dcbe09f39a79af9e551c3e0b4
vc4: Mark the driver as supporting fragment color clamping in rast.

We always clamp fragment colors, since they're always 8-bit unorm, so
there's no need to have us compile separate shaders based on
GL_ARB_color_buffer_float.  This gives us precompilation of fragment
programs to the vc4_shader_state_create() level.
src/gallium/drivers/vc4/vc4_screen.c