[Beignet] [PATCH] GBE: fixed a bug in sample instruction.
Zhigang Gong
zhigang.gong at intel.com
Tue Jan 21 18:42:27 PST 2014
Sample instruction only have 3 source operands now, not 4.
Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
backend/src/ir/instruction.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
index 83a43b6..95bcff5 100644
--- 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;
};
--
1.7.9.5
More information about the Beignet
mailing list