summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-08-06 16:10:25 -0400
committerJerome Glisse <[email protected]>2010-08-06 16:12:22 -0400
commitc3ad060488ffd98f1c6dc9127b46324c5201f434 (patch)
tree5a9085dd8d6ba2800418c050553999b57b262229 /src/gallium/drivers/r600/r600_shader.h
parent69d450856aedda9c46739c64eac82cf14447426e (diff)
r600g: finish multi target rendering support
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index ee0381e8bdd..15562c19a52 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -25,9 +25,17 @@
#include "r600_asm.h"
+enum r600_export_type {
+ r600_export_position = 0,
+ r600_export_parameter,
+ r600_export_framebuffer,
+};
+
struct r600_shader_io {
unsigned name;
unsigned gpr;
+ unsigned done;
+ unsigned type;
int sid;
unsigned interpolate;
};
@@ -41,6 +49,7 @@ struct r600_shader {
struct r600_shader_io input[32];
struct r600_shader_io output[32];
enum radeon_family family;
+ unsigned output_done;
};
#endif