summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-29 17:53:47 -0700
committerJason Ekstrand <[email protected]>2018-07-02 13:07:06 -0700
commiteae192bf5f15b6e50ca0ead6b19f847bae1631ab (patch)
tree609b2bcae8d48b6d641dfae3da86586c26937f50 /src/mesa/SConscript
parent76fdc8a85c630ee66902cbe8568d81fc116c1b3e (diff)
anv/pipeline: Stop optimizing for not having a cache
Before, we were only hashing the shader if we had a shader cache to cache things in. This means that if we ever get it wrong, we could end up trying to cache a shader with an undefined hash. Since not having a shader cache is an extremely uncommon case, let's optimize for code clarity and obvious correctness over avoiding a hash operation. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/SConscript')
0 files changed, 0 insertions, 0 deletions