lavapipe: Initialize the compiler options of the noop fs
Crashes divergence analysis. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32963>
This commit is contained in:
committed by
Marge Bot
parent
cc6e43c049
commit
28c594701e
@@ -1762,7 +1762,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateDevice(
|
||||
return result;
|
||||
}
|
||||
|
||||
nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_FRAGMENT, NULL, "dummy_frag");
|
||||
nir_builder b = nir_builder_init_simple_shader(MESA_SHADER_FRAGMENT, physical_device->drv_options[MESA_SHADER_FRAGMENT], "dummy_frag");
|
||||
struct pipe_shader_state shstate = {0};
|
||||
shstate.type = PIPE_SHADER_IR_NIR;
|
||||
shstate.ir.nir = b.shader;
|
||||
|
||||
Reference in New Issue
Block a user