diff options
author | Marek Olšák <[email protected]> | 2017-04-24 16:29:22 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-28 21:47:35 +0200 |
commit | 46e48d404417ffe3c619287d6504f0504357d8b2 (patch) | |
tree | da3530a794da1daff64d06954fa7e96ff1ccce11 /src/gallium/auxiliary/tgsi/tgsi_scan.h | |
parent | fa15436e634f36d94d6d477675a2037404df1952 (diff) |
tgsi/scan: record compute shader system value usage
v2: just do indexing with swizzle[i]
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h index 3854827e5cb..98387c982c6 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.h +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h @@ -121,6 +121,10 @@ struct tgsi_shader_info boolean uses_primid; boolean uses_frontface; boolean uses_invocationid; + boolean uses_thread_id[3]; + boolean uses_block_id[3]; + boolean uses_block_size; + boolean uses_grid_size; boolean writes_position; boolean writes_psize; boolean writes_clipvertex; |