Descriptiongpu_fuzzer: cache shader translators
The shader translators are basically stateless, but they get recreated (a costly
operation) for every new decoder.
Just keeping a reference to them is enough to keep them in the shader translator
cache, so introduce a getter for them in the decoder, and keep a reference to
them in the fuzzer code.
BUG=None
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/d9a8b38123edec926b906eff41a6f083ac475c17
Cr-Commit-Position: refs/heads/master@{#406096}
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|