summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600KernelParameters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeon/R600KernelParameters.cpp')
-rw-r--r--src/gallium/drivers/radeon/R600KernelParameters.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeon/R600KernelParameters.cpp b/src/gallium/drivers/radeon/R600KernelParameters.cpp
index e86ebbcabcf..87adbe400f3 100644
--- a/src/gallium/drivers/radeon/R600KernelParameters.cpp
+++ b/src/gallium/drivers/radeon/R600KernelParameters.cpp
@@ -249,9 +249,9 @@ void R600KernelParameters::Propagate(Value* V, const Twine& Name, bool IsIndirec
unsigned Addrspace;
if (IsIndirect) {
- Addrspace = AMDILAS::PARAM_I_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_I_ADDRESS;
} else {
- Addrspace = AMDILAS::PARAM_D_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_D_ADDRESS;
}
if (GEP and GEP->getType()->getAddressSpace() != Addrspace) {
@@ -321,9 +321,9 @@ Value* R600KernelParameters::ConstantRead(Function *Fun, Param &P) {
unsigned Addrspace;
if (P.IsIndirect) {
- Addrspace = AMDILAS::PARAM_I_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_I_ADDRESS;
} else {
- Addrspace = AMDILAS::PARAM_D_ADDRESS;
+ Addrspace = AMDGPUAS::PARAM_D_ADDRESS;
}
Argument *Arg = dyn_cast<Argument>(P.Val);