summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_strings.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-08-27 09:56:14 +1000
committerDave Airlie <[email protected]>2015-02-20 08:51:49 +1000
commitfa43e0443e206740e219d45abefee65bdb2c3ecb (patch)
tree4cc94bf841c3c2ec4ead63821bb45b77ff61327f /src/gallium/auxiliary/tgsi/tgsi_strings.h
parent3cd1338534374c8ed13651548dcbf3949857dbcd (diff)
tgsi: add support for flt64 constants
These act like flt32 except they take up two slots, and you can only add 2 x flt64 constants in one slot. The main reason they are different is we don't want to match half a flt64 constants against a flt32 constant in the matching code, we need to make sure we treat both parts of the flt64 as an single structure. Cleaned up printing/parsing by Ilia Mirkin <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_strings.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_strings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_strings.h b/src/gallium/auxiliary/tgsi/tgsi_strings.h
index c8427467793..90014a225b0 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_strings.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_strings.h
@@ -58,7 +58,7 @@ extern const char *tgsi_fs_coord_origin_names[2];
extern const char *tgsi_fs_coord_pixel_center_names[2];
-extern const char *tgsi_immediate_type_names[3];
+extern const char *tgsi_immediate_type_names[4];
const char *