diff options
author | Vadim Girlin <[email protected]> | 2011-06-24 20:29:13 +0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2011-06-24 15:23:41 -0400 |
commit | eafd331cf3b024001abd3f64861f41cd33a9acb2 (patch) | |
tree | 11355102a6fd54cce563391732aa17dc6117cf91 /src/gallium/drivers/r600/r600_state.c | |
parent | d81126b714cd4de0ab036bb22bf4103f5fcec015 (diff) |
r600g: implement fragment and vertex color clamp
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440
Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 91da7c55f4b..be07f5feff8 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -299,6 +299,8 @@ static void *r600_create_rs_state(struct pipe_context *ctx, } rstate = &rs->rstate; + rs->clamp_vertex_color = state->clamp_vertex_color; + rs->clamp_fragment_color = state->clamp_fragment_color; rs->flatshade = state->flatshade; rs->sprite_coord_enable = state->sprite_coord_enable; |