diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-10-30 14:28:01 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-11-20 08:24:09 -0800 |
commit | b5b09acb748ea4666c4587856af65fbe319f5b49 (patch) | |
tree | bc840fc0acbc8c77c2f4a0940ff1e5f8512f0a12 /src/mesa/program/prog_statevars.h | |
parent | 38bd621f0d154f2df623cffacc1d7a69faf331f8 (diff) |
radeonsi: tell the shader disk cache what IR is used
Until 8bef4df196fbb the IR (TGSI or NIR) was used in disk_cache driver_flags.
This commit restores this features to avoid crashing when switching from
one IR to the other.
As radeonsi's default is TGSI, I used "driver_flags & 0x8000000 = 0" for TGSI
to keep the same driver_flags.
Fixes: 8bef4df196f ("radeonsi: add si_debug_options for convenient adding/removing of options")
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_statevars.h')
0 files changed, 0 insertions, 0 deletions