LGTM, thanks.

-----Original Message-----
From: beignet-boun...@lists.freedesktop.org 
[mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Zhigang Gong
Sent: Tuesday, January 21, 2014 1:19 PM
To: beignet@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.g...@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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to