summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorJohn Doe <glisse@localhost.localdomain>2010-09-15 11:47:32 -0400
committerJohn Doe <glisse@localhost.localdomain>2010-09-15 11:48:34 -0400
commite0b6df4fcce0964ea7930efeb40cb487b4c53337 (patch)
tree3ddfbc8e750d004391ad94a595c59bd437203485 /src/gallium/drivers/r600/r600_shader.h
parent26fe16a99b762d27e8f499c2e02116e9c4b7a6bb (diff)
r600g: misc cleanup
Avoid using r600_screen structure to get ptr to radeon winsys structure. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index fba4a2b3b8..06dd65038d 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -42,8 +42,10 @@ struct r600_shader {
struct r600_shader_io input[32];
struct r600_shader_io output[32];
enum radeon_family family;
- boolean uses_kill;
- boolean use_mem_constant;
+ boolean uses_kill;
+ boolean use_mem_constant;
};
+int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *shader);
+
#endif