summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-11-18 14:29:16 -0500
committerJerome Glisse <[email protected]>2010-11-19 13:40:55 -0500
commitf609b2ab0342d77a8beca9efb5fbc5b66ff98295 (patch)
tree97489d45c565b959d0a8a4ad0a2e78e4a9e95f5e /src/gallium/drivers/r600/r600_shader.h
parent3e76ed4e256dd7964deaf37b89220c775fd2891e (diff)
r600g: add fetch shader capabilities
Use fetch shader instead of having fetch instruction in the vertex shader. Allow to restrict shader update to a smaller part when vertex buffer input layout changes. Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index f8bc5951395..cd108da4915 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -46,6 +46,7 @@ struct r600_shader {
struct r600_shader_io output[32];
enum radeon_family family;
boolean uses_kill;
+ struct r600_bc bc_fetch;
};
int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *shader);