projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc2cf57
)
Fixed typo in the curbe load for SimContext
author
Benjamin Segovia
<segovia.benjamin@gmail.com>
Mon, 21 May 2012 16:33:44 +0000
(16:33 +0000)
committer
Keith Packard
<keithp@keithp.com>
Fri, 10 Aug 2012 23:17:58 +0000
(16:17 -0700)
backend/src/backend/sim_context.cpp
patch
|
blob
|
history
diff --git
a/backend/src/backend/sim_context.cpp
b/backend/src/backend/sim_context.cpp
index
91073b4
..
1bcb206
100644
(file)
--- 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::
VALU
E && usedRegs.contains(reg))
+ if (arg.type != ir::FunctionArgument::
STRUCTUR
E && usedRegs.contains(reg))
o << "LOAD(_" << uint32_t(reg) << ", curbe + " << offset << ");\n";
}