[Beignet] [PATCH] GBE: fixed a bug in sample instruction.
Yang, Rong R
rong.r.yang at intel.com
Mon Jan 20 23:46:03 PST 2014
LGTM, thanks.
-----Original Message-----
From: beignet-bounces at lists.freedesktop.org [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Zhigang Gong
Sent: Tuesday, January 21, 2014 1:19 PM
To: beignet at lists.freedesktop.org
Cc: Gong, Zhigang
Subject: [Beignet] [PATCH] GBE: fixed a bug in sample instruction.
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
_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list