summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_program.h
diff options
context:
space:
mode:
authorRob Clark <Rob Clark [email protected]>2013-04-20 17:59:41 -0400
committerRob Clark <Rob Clark [email protected]>2013-04-20 17:59:41 -0400
commit26b39df08f480b3f1d71608ef3c2b56b8be94f3e (patch)
tree461416a76f1f1a62d3d45e92271d770b2063db84 /src/gallium/drivers/freedreno/freedreno_program.h
parentd8134792ae4a26160e90c6fc87312bf3fe9d4fbf (diff)
freedreno: move ir -> ir2
There will be a new IR for a3xx, which has a very different shader ISA (more scalar oriented). So rename to avoid conflicts later when I start adding a3xx support to the gallium driver. Signed-off-by: Rob Clark <Rob Clark [email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_program.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_program.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_program.h b/src/gallium/drivers/freedreno/freedreno_program.h
index e73cf1bbb97..9871b0c3b1d 100644
--- a/src/gallium/drivers/freedreno/freedreno_program.h
+++ b/src/gallium/drivers/freedreno/freedreno_program.h
@@ -33,7 +33,7 @@
#include "freedreno_context.h"
-#include "ir.h"
+#include "ir-a2xx.h"
#include "disasm.h"
struct fd_shader_stateobj {
@@ -47,14 +47,14 @@ struct fd_shader_stateobj {
* and if one changes, we potentially need to recompile in order to
* get varying linkages correct:
*/
- struct ir_shader_info info;
- struct ir_shader *ir;
+ struct ir2_shader_info info;
+ struct ir2_shader *ir;
/* for vertex shaders, the fetch instructions which need to be
* patched up before assembly:
*/
unsigned num_vfetch_instrs;
- struct ir_instruction *vfetch_instrs[64];
+ struct ir2_instruction *vfetch_instrs[64];
/* for all shaders, any tex fetch instructions which need to be
* patched before assembly:
@@ -62,7 +62,7 @@ struct fd_shader_stateobj {
unsigned num_tfetch_instrs;
struct {
unsigned samp_id;
- struct ir_instruction *instr;
+ struct ir2_instruction *instr;
} tfetch_instrs[64];
unsigned first_immediate; /* const reg # of first immediate */