summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-06-28 17:26:15 +0100
committerEric Anholt <[email protected]>2014-08-08 18:59:46 -0700
commit2e35981d4d625d951328ef5b8f95798112997fb3 (patch)
tree8e89e57b117c8979ff302660406ebc048438724b /src/gallium/drivers/vc4/vc4_qir.c
parent7108c24fd02a76f3efef4ba5d9aefdf0704ab0d8 (diff)
vc4: Add support for SNE/SEQ/SGE/SLT.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c
index a4bb6cd1fd1..4ee1f018fc5 100644
--- a/src/gallium/drivers/vc4/vc4_qir.c
+++ b/src/gallium/drivers/vc4/vc4_qir.c
@@ -43,6 +43,12 @@ static const struct qir_op_info qir_op_info[] = {
[QOP_FMAX] = { "fmax", 1, 2 },
[QOP_FMINABS] = { "fminabs", 1, 2 },
[QOP_FMAXABS] = { "fmaxabs", 1, 2 },
+
+ [QOP_SEQ] = { "seq", 1, 2 },
+ [QOP_SNE] = { "sne", 1, 2 },
+ [QOP_SGE] = { "sge", 1, 2 },
+ [QOP_SLT] = { "slt", 1, 2 },
+
[QOP_FTOI] = { "ftoi", 1, 1 },
[QOP_RCP] = { "rcp", 1, 1 },
[QOP_RSQ] = { "rsq", 1, 1 },