summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-01-16 16:40:41 +0100
committerNicolai Hähnle <[email protected]>2017-01-16 20:17:22 +0100
commit6be4a404300e4896ef531a10e24c6b76698afe1a (patch)
tree0a46e8ad9e353a9441bd04287afdfbcbbf66afbf /src/gallium/include
parent5e94e5bb9bc30b575fdd3347bab7f170fb736e83 (diff)
tgsi: add DDIV instruction
Double-precision division, to allow more precision than a DRCP + DMUL sequence. Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 3384035a711..a867d139144 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -601,7 +601,10 @@ struct tgsi_property_data {
#define TGSI_OPCODE_U64DIV 245
#define TGSI_OPCODE_I64MOD 246
#define TGSI_OPCODE_U64MOD 247
-#define TGSI_OPCODE_LAST 248
+
+#define TGSI_OPCODE_DDIV 248
+
+#define TGSI_OPCODE_LAST 249
/**
* Opcode is the operation code to execute. A given operation defines the