aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-02-20 10:40:46 +1000
committerDave Airlie <[email protected]>2015-09-02 16:06:13 +1000
commitee67fd70c22c6389fd90886ef3ddf5bf6601b3a0 (patch)
tree2fd987c645de5af70077a5c1f49d5dc0161519e7 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent3bfa345c1eb3b0ec008d29fc0c62fe941412e4c6 (diff)
tgsi/scan: add uses_doubles to tgsi scanner
This allows drivers to work out if a shader contains any double opcodes easily. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index b81bdd71f14..c5900bc05d4 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -95,7 +95,7 @@ struct tgsi_shader_info
boolean writes_viewport_index;
boolean writes_layer;
boolean is_msaa_sampler[PIPE_MAX_SAMPLERS];
-
+ boolean uses_doubles; /**< uses any of the double instructions */
unsigned clipdist_writemask;
unsigned culldist_writemask;
unsigned num_written_culldistance;