[Mesa-dev] [PATCH v3 1/8] nir: evaluate if condition uses inside the if branches
Timothy Arceri
tarceri at itsqueeze.com
Sat Jul 28 01:07:26 UTC 2018
On 28/07/18 11:06, Timothy Arceri wrote:
> Since we know what side of the branch we ended up on we can just
> replace the use with a constant.
>
> All the spill changes in shader-db are from Dolphin uber shaders,
> despite some small regressions the change is clearly positive.
>
> V2: insert new constant after any phis in the
> use->parent_instr->type == nir_instr_type_phi path.
Meh this was meant to be V3
More information about the mesa-dev
mailing list