From 014d4725c778cd9b921768c10de48d01be5962d6 Mon Sep 17 00:00:00 2001 From: Benjamin Segovia Date: Mon, 21 May 2012 16:33:44 +0000 Subject: [PATCH] Fixed typo in the curbe load for SimContext --- backend/src/backend/sim_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/backend/sim_context.cpp b/backend/src/backend/sim_context.cpp index 91073b4..1bcb206 100644 --- a/backend/src/backend/sim_context.cpp +++ b/backend/src/backend/sim_context.cpp @@ -123,7 +123,7 @@ namespace gbe GBE_ASSERT (arg.type != ir::FunctionArgument::IMAGE && arg.type != ir::FunctionArgument::LOCAL_POINTER); GBE_ASSERT(offset >= 0); - if (arg.type != ir::FunctionArgument::VALUE && usedRegs.contains(reg)) + if (arg.type != ir::FunctionArgument::STRUCTURE && usedRegs.contains(reg)) o << "LOAD(_" << uint32_t(reg) << ", curbe + " << offset << ");\n"; } -- 2.7.4