diff options
author | John Doe <[email protected]> | 2010-09-15 11:47:32 -0400 |
---|---|---|
committer | John Doe <[email protected]> | 2010-09-15 11:48:34 -0400 |
commit | e0b6df4fcce0964ea7930efeb40cb487b4c53337 (patch) | |
tree | 3ddfbc8e750d004391ad94a595c59bd437203485 /src/gallium/drivers/r600/r600_shader.c | |
parent | 26fe16a99b762d27e8f499c2e02116e9c4b7a6bb (diff) |
r600g: misc cleanup
Avoid using r600_screen structure to get ptr to radeon
winsys structure.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index f12dbd37d38..0453138d2ba 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -51,7 +51,7 @@ struct r600_shader_ctx { u32 value[4]; u32 *literals; u32 nliterals; - u32 max_driver_temp_used; + u32 max_driver_temp_used; }; struct r600_shader_tgsi_instruction { @@ -62,7 +62,6 @@ struct r600_shader_tgsi_instruction { }; static struct r600_shader_tgsi_instruction r600_shader_tgsi_instruction[], eg_shader_tgsi_instruction[]; -static int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *shader); static int tgsi_helper_tempx_replicate(struct r600_shader_ctx *ctx); static int r600_shader_update(struct pipe_context *ctx, struct r600_shader *shader) |