From: Tom Stellard Date: Tue, 28 Feb 2012 22:32:28 +0000 (-0500) Subject: r600/llvm: Add LOAD_VTX instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa52aeb3964e38b8e7b9e34c427fa1b5a42f358f;p=mesa.git r600/llvm: Add LOAD_VTX instruction --- 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.