mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
radv: Pre-compile BVH build shaders if there is a cache
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21268>
This commit is contained in:
parent
40f246e3e9
commit
3966fbdc51
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ radv_device_init_meta(struct radv_device *device)
|
|||
* Work around it by forcing ACO for now.
|
||||
*/
|
||||
bool use_llvm = device->physical_device->use_llvm;
|
||||
if (use_llvm) {
|
||||
if (loaded_cache || use_llvm) {
|
||||
device->physical_device->use_llvm = false;
|
||||
result = radv_device_init_accel_struct_build_state(device);
|
||||
device->physical_device->use_llvm = use_llvm;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue