summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-10-30 14:28:01 +0100
committerPierre-Eric Pelloux-Prayer <[email protected]>2019-10-31 10:43:40 +0100
commit2afeed301010917c4eae55dcd2544f9d329df934 (patch)
treed6020bf18df6e5eccf70c477e76c6b35474c4d71 /src/amd/vulkan/radv_device.c
parent15b7b56eb2fb418263199d5b47774cfb922fa343 (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/amd/vulkan/radv_device.c')
0 files changed, 0 insertions, 0 deletions