summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_shader.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-16 00:30:56 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-16 00:31:54 -0700
commit877aaad06dbaab3beadd4fe6da2b934bf035002c (patch)
tree77ad3e5c1c3145a232bf88694ba22a686dbe3edb /src/gallium/drivers/r300/r300_state_shader.h
parent5bc456284933f47151a56a93480de39cd8751953 (diff)
r300-gallium: r500-fs: Actually handle consts and imms correctly.
This makes mad.txt draw correctly. Yay!
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_shader.h')
-rw-r--r--src/gallium/drivers/r300/r300_state_shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_shader.h b/src/gallium/drivers/r300/r300_state_shader.h
index 8011e1f538..284ae6acf1 100644
--- a/src/gallium/drivers/r300/r300_state_shader.h
+++ b/src/gallium/drivers/r300/r300_state_shader.h
@@ -76,6 +76,8 @@ struct r300_fs_asm {
* inline constants per source, so instead we copy immediates into the
* constant buffer. */
unsigned imm_offset;
+ /* Number of immediate constants. */
+ unsigned imm_count;
};
void r300_translate_fragment_shader(struct r300_context* r300,