summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2019-06-14 16:54:24 +0200
committerGert Wollny <[email protected]>2019-06-30 18:41:35 +0200
commit843723e2f7c79633cb0fe910b60684b8b2d289f6 (patch)
tree5a018e563c1c0ebfc9543cb93d010c247d7aee24 /src/gallium/include
parent187c308b96d0501552ec0287ec117273b51228f0 (diff)
gallium: Add CAP for opcode DIV
Not all drivers support TGSI_OPCODE_DIV, so we should have a cap to be able to check this. Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 74a9a868924..536f321edfd 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -887,6 +887,7 @@ enum pipe_cap
PIPE_CAP_FBFETCH_COHERENT,
PIPE_CAP_CS_DERIVED_SYSTEM_VALUES_SUPPORTED,
PIPE_CAP_ATOMIC_FLOAT_MINMAX,
+ PIPE_CAP_TGSI_DIV,
};
/**