diff mbox

[3/3] assembler: RSQ is a math function

Message ID 20161130011559.19838-3-hoegsberg@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kristian Høgsberg Nov. 30, 2016, 1:15 a.m. UTC
Signed-off-by: Kristian H. Kristensen <hoegsberg@gmail.com>
---
 assembler/gram.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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; }