diff options
author | Marek Olšák <[email protected]> | 2017-09-05 03:52:48 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-09-11 19:02:02 +0200 |
commit | 386d165d8d09317fe073d00da38f8851a9c33ee6 (patch) | |
tree | f149e349c226926b8ae73c11dc7b9de56179026d /src/gtest | |
parent | b2dae9f8fd310c19e66b161a7ee9845af78f73e0 (diff) |
tgsi/scan: add a new pass that analyzes tess factor writes (v2)
The pass tries to deduce whether tess factors are always written by
all shader invocations.
The implication for radeonsi is that it doesn't have to use a barrier
near the end of TCS, and doesn't have to use LDS for passing the tess
factors to the epilog.
v2: Handle barriers and do the analysis pass for each code segment
surrounded by barriers separately, and AND results from all
such segments writing tess factors. The change is trivial in the main
switch statement.
Also, the result is renamed to "tessfactors_are_def_in_all_invocs"
to make the name accurate.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions