mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
Add support for predicate control.
This is untested on programs using predicate control, and also causes a shift/reduce conflict.
This commit is contained in:
committed by
Damien Lespiau
parent
6a88ada7e8
commit
0ed5d93cc2
@@ -104,6 +104,7 @@ int saved_state = INITIAL;
|
||||
"}" { return RCURLY; }
|
||||
"," { return COMMA; }
|
||||
"." { return DOT; }
|
||||
"+" { return PLUS; }
|
||||
"-" { return MINUS; }
|
||||
"(abs)" { return ABS; }
|
||||
|
||||
@@ -239,6 +240,16 @@ int saved_state = INITIAL;
|
||||
"signed" { return SIGNED; }
|
||||
"scalar" { return SCALAR; }
|
||||
|
||||
/* predicate control */
|
||||
"any2h" { return ANY2H; }
|
||||
"all2h" { return ALL2H; }
|
||||
"any4h" { return ANY4H; }
|
||||
"all4h" { return ALL4H; }
|
||||
"any8h" { return ANY8H; }
|
||||
"all8h" { return ALL8H; }
|
||||
"any16h" { return ANY16H; }
|
||||
"all16h" { return ALL16H; }
|
||||
|
||||
/* channel selectors */
|
||||
"x" {
|
||||
yylval.integer = BRW_CHANNEL_X;
|
||||
|
||||
Reference in New Issue
Block a user