diff options
author | Corbin Simpson <[email protected]> | 2009-05-20 14:17:27 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-05-20 14:17:27 -0700 |
commit | 364a4a829341b3691b4d1e559d5cc3c178147b97 (patch) | |
tree | b5ac2eb193a4dda96a2e2a737e988533d939478d /src/gallium/drivers/r300 | |
parent | 0ba7f762339cbc8be31fe98421b0c9b44c7402fa (diff) |
r300-gallium: fs: Remove cruft from way back when.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_shader.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/gallium/drivers/r300/r300_state_shader.c b/src/gallium/drivers/r300/r300_state_shader.c index ed99c76c158..a56b507eefa 100644 --- a/src/gallium/drivers/r300/r300_state_shader.c +++ b/src/gallium/drivers/r300/r300_state_shader.c @@ -22,24 +22,6 @@ #include "r300_state_shader.h" -static void r300_copy_passthrough_shader(struct r300_fragment_shader* fs) -{ - struct r300_fragment_shader* pt = &r300_passthrough_fragment_shader; - fs->shader.stack_size = pt->shader.stack_size; - fs->alu_instruction_count = pt->alu_instruction_count; - fs->tex_instruction_count = pt->tex_instruction_count; - fs->indirections = pt->indirections; - fs->instructions[0] = pt->instructions[0]; -} - -static void r500_copy_passthrough_shader(struct r500_fragment_shader* fs) -{ - struct r500_fragment_shader* pt = &r500_passthrough_fragment_shader; - fs->shader.stack_size = pt->shader.stack_size; - fs->instruction_count = pt->instruction_count; - fs->instructions[0] = pt->instructions[0]; -} - static void r300_fs_declare(struct r300_fs_asm* assembler, struct tgsi_full_declaration* decl) { |