summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeon/R600Instructions.td13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td
index 913e27f1f9c..af6b8be5190 100644
--- a/src/gallium/drivers/radeon/R600Instructions.td
+++ b/src/gallium/drivers/radeon/R600Instructions.td
@@ -918,6 +918,19 @@ def LOCAL_SIZE_Z : R600PreloadInst <"LOCAL_SIZE_Z",
+let isPseudo = 1 in {
+
+def LOAD_VTX : AMDGPUShaderInst <
+ (outs R600_Reg32:$dst),
+ (ins MEMri:$mem),
+ "LOAD_VTX",
+ [(set (i32 R600_Reg32:$dst), (load_param ADDRParam:$mem))]
+>;
+
+
+} //End isPseudo
+
+
include "R600ShaderPatterns.td"
// We need this pattern to avoid having real registers in PHI nodes.