diff options
author | Nicolai Hähnle <[email protected]> | 2016-06-01 13:17:29 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-06-07 23:45:17 +0200 |
commit | d3a584defec988faa09960adea90545399440827 (patch) | |
tree | 973e7efd0b1f1271fa9795961a7b9fc9c19768ac /src/gallium/auxiliary/tgsi/tgsi_scan.h | |
parent | b7a0c0ec7f5626bbec4904e6754f27087120ec54 (diff) |
tgsi/scan: add uses_derivatives (v2)
v2:
- TG4 does not calculate derivatives (Ilia)
- also handle SAMPLE* instructions (Roland)
Cc: 12.0 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]> (v1)
Reviewed-by: Brian Paul <[email protected]> (v1)
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 31adce7a603..f7eefa4d186 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -115,6 +115,7 @@ struct tgsi_shader_info boolean writes_memory; /**< contains stores or atomics to buffers or images */ boolean is_msaa_sampler[PIPE_MAX_SAMPLERS]; boolean uses_doubles; /**< uses any of the double instructions */ + boolean uses_derivatives; unsigned clipdist_writemask; unsigned culldist_writemask; unsigned num_written_culldistance; |