[Intel-gfx] [PATCH 3/3] assembler: RSQ is a math function

Kristian H. Kristensen hoegsberg at gmail.com
Wed Nov 30 01:15:59 UTC 2016


Signed-off-by: Kristian H. Kristensen <hoegsberg at gmail.com>
---
 assembler/gram.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assembler/gram.y b/assembler/gram.y
index f370dfa..d6f4a19 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -1985,7 +1985,7 @@ sampler_datatype:
 ;
 
 math_function:	INV | LOG | EXP | SQRT | POW | SIN | COS | SINCOS | INTDIV
-		| INTMOD | INTDIVMOD
+		| INTMOD | INTDIVMOD | RSQ
 ;
 
 math_signed:	%empty /* empty */ { $$ = 0; }
-- 
2.9.3



More information about the Intel-gfx mailing list