summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_fs.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-23 03:38:39 +0100
committerMarek Olšák <[email protected]>2012-01-25 12:35:19 +0100
commit7023ed9e622a3a080ccc6a2739ba1ccd8775a345 (patch)
tree3daf4cf433bdbec8a9d36061952c4f7fccee51d6 /src/gallium/drivers/r300/r300_fs.c
parent697b9945fb0f55428b06821f98fd8621372f81ad (diff)
r300g: nuke the fallback for fragment color clamping
Diffstat (limited to 'src/gallium/drivers/r300/r300_fs.c')
-rw-r--r--src/gallium/drivers/r300/r300_fs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 320f3987e9a..051b29217ad 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -147,11 +147,8 @@ static void get_external_state(
struct r300_fragment_program_external_state* state)
{
struct r300_textures_state *texstate = r300->textures_state.state;
- struct r300_rs_state *rs = r300->rs_state.state;
unsigned i;
- state->frag_clamp = rs ? rs->rs.clamp_fragment_color : 0;
-
for (i = 0; i < texstate->sampler_state_count; i++) {
struct r300_sampler_state *s = texstate->sampler_states[i];
struct r300_sampler_view *v = texstate->sampler_views[i];