summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_enums.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-02-13 15:17:44 +1100
committerTimothy Arceri <[email protected]>2019-02-14 09:35:32 +1100
commit0a89c9779a835331dab33dfb852e4b0ab4269de1 (patch)
treed2914f93e4e87144628bdae63d0e3952bbee9bba /src/compiler/shader_enums.c
parent279060cd32dd673c6a5bf302ceac852f51a6c17c (diff)
nir: prehash instruction in nir_instr_set_add_or_rewrite()
There is no need to hash the instruction twice, especially as we end up adding it in the majority of cases. Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/shader_enums.c')
0 files changed, 0 insertions, 0 deletions