summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_shader.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-11 14:26:25 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-11 15:23:09 -0700
commitc4c1774bbb08022846eefd14df683c7644f5e421 (patch)
tree4a67800fcd3d9a0dadf9dd98d1a5fea683614049 /src/gallium/drivers/r300/r300_state_shader.h
parentddf31d0e315faba6a9519cc12e4b480ede38deb2 (diff)
r300-gallium: r500-fs: Add shader dumper and more tex work.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_shader.h')
-rw-r--r--src/gallium/drivers/r300/r300_state_shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_shader.h b/src/gallium/drivers/r300/r300_state_shader.h
index 410926a26a..a74dce4764 100644
--- a/src/gallium/drivers/r300/r300_state_shader.h
+++ b/src/gallium/drivers/r300/r300_state_shader.h
@@ -26,6 +26,7 @@
#include "tgsi/tgsi_parse.h"
#include "r300_context.h"
+#include "r300_debug.h"
#include "r300_reg.h"
#include "r300_screen.h"
@@ -63,6 +64,8 @@ struct r300_fs_asm {
* distinguishing markings, so inputs start at 0 and the first usable
* temporary register is after all inputs. */
unsigned temp_offset;
+ /* Number of requested temporary registers. */
+ unsigned temp_count;
};
void r300_translate_fragment_shader(struct r300_context* r300,