From: Benjamin Segovia Date: Mon, 21 May 2012 16:33:44 +0000 (+0000) Subject: Fixed typo in the curbe load for SimContext X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=014d4725c778cd9b921768c10de48d01be5962d6;p=contrib%2Fbeignet.git Fixed typo in the curbe load for SimContext --- 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"; }