summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-08-24 02:51:20 +0200
committerMarek Olšák <[email protected]>2010-08-25 02:44:29 +0200
commit0a21938de92a1f1e74be7c4559b03179bd657fcd (patch)
tree84289a1bf8614a73ef66bf1fceb4479e31a42769 /src/gallium/drivers/r300/r300_state.c
parentabae06ac85349a30996257f29f9c52c3f687d35d (diff)
r300g: eliminate unused constants in FS
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index ed39c575cef..3e35d7ab285 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -865,6 +865,9 @@ void r300_mark_fs_code_dirty(struct r300_context *r300)
r300->fs_rc_constant_state.size = fs->shader->rc_state_count * 5;
r300->fs_constants.size = fs->shader->externals_count * 4 + 1;
}
+
+ ((struct r300_constant_buffer*)r300->fs_constants.state)->remap_table =
+ fs->shader->code.constants_remap_table;
}
/* Bind fragment shader state. */