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:
736e74a
)
GBE: fixed a bug in sample instruction.
author
Zhigang Gong
<zhigang.gong@intel.com>
Tue, 21 Jan 2014 05:15:39 +0000
(13:15 +0800)
committer
Zhigang Gong
<zhigang.gong@intel.com>
Sun, 26 Jan 2014 08:46:48 +0000
(16:46 +0800)
Sample instruction only have 3 source operands now, not 4.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
backend/src/ir/instruction.cpp
patch
|
blob
|
history
diff --git
a/backend/src/ir/instruction.cpp
b/backend/src/ir/instruction.cpp
index
83a43b6
..
95bcff5
100644
(file)
--- a/
backend/src/ir/instruction.cpp
+++ b/
backend/src/ir/instruction.cpp
@@
-532,7
+532,7
@@
namespace ir {
uint8_t samplerOffset:1;
uint8_t is3DRead:1;
uint8_t imageIdx;
- static const uint32_t srcNum =
4
;
+ static const uint32_t srcNum =
3
;
static const uint32_t dstNum = 4;
};