summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-14 01:12:49 +0200
committerMarek Olšák <[email protected]>2010-04-14 04:48:19 +0200
commit36e0100e9e6afe7a00846514daffb8993dcc173e (patch)
tree96eeeb34d144af9aedb61d289750be0697c6fb7f /src/gallium
parentc57bac1f13d2bb00d04d8436d2042f0ab02549d4 (diff)
r300g: kill off r300_fragment_shader::shadow_samplers and friends
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_fs.c2
-rw-r--r--src/gallium/drivers/r300/r300_fs.h7
2 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/r300/r300_fs.c b/src/gallium/drivers/r300/r300_fs.c
index 6af6028447f..f75d282205e 100644
--- a/src/gallium/drivers/r300/r300_fs.c
+++ b/src/gallium/drivers/r300/r300_fs.c
@@ -253,8 +253,6 @@ static void r300_translate_fragment_shader(
r300_tgsi_to_rc(&ttr, tokens);
- shader->shadow_samplers = compiler.Base.Program.ShadowSamplers;
-
/**
* Transform the program to support WPOS.
*
diff --git a/src/gallium/drivers/r300/r300_fs.h b/src/gallium/drivers/r300/r300_fs.h
index 18da5f75625..014703b2c4d 100644
--- a/src/gallium/drivers/r300/r300_fs.h
+++ b/src/gallium/drivers/r300/r300_fs.h
@@ -38,9 +38,6 @@ struct r300_fragment_shader_code {
* compilation failure. */
boolean dummy;
- /* Bits 0-15: TRUE if it's a shadow sampler, FALSE otherwise. */
- unsigned shadow_samplers;
-
/* Numbers of constants for each type. */
unsigned externals_count;
unsigned immediates_count;
@@ -56,10 +53,6 @@ struct r300_fragment_shader {
/* Parent class */
struct pipe_shader_state state;
- /* Bits 0-15: TRUE if it's a shadow sampler, FALSE otherwise.
- * Initialized from the first compiled FS. */
- unsigned shadow_samplers;
-
/* Currently-bound fragment shader. */
struct r300_fragment_shader_code* shader;