Browse Source

r300g: kill off r300_fragment_shader::shadow_samplers and friends

tags/mesa-7.9-rc1
Marek Olšák 15 years ago
parent
commit
36e0100e9e
2 changed files with 0 additions and 9 deletions
  1. 0
    2
      src/gallium/drivers/r300/r300_fs.c
  2. 0
    7
      src/gallium/drivers/r300/r300_fs.h

+ 0
- 2
src/gallium/drivers/r300/r300_fs.c View File

@@ -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.
*

+ 0
- 7
src/gallium/drivers/r300/r300_fs.h View File

@@ -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;


Loading…
Cancel
Save