diff --git a/src/vulkan/runtime/vk_graphics_state.c b/src/vulkan/runtime/vk_graphics_state.c index 19257ab3dcb..06f625b5531 100644 --- a/src/vulkan/runtime/vk_graphics_state.c +++ b/src/vulkan/runtime/vk_graphics_state.c @@ -697,7 +697,7 @@ vk_multisample_sample_locations_state_init( if (ms->sample_locations_enable) { vk_sample_locations_state_init(sl, &sl_info->sampleLocationsInfo); ms->sample_locations = sl; - } else if (!IS_DYNAMIC(MS_SAMPLE_MASK)) { + } else if (!IS_DYNAMIC(MS_RASTERIZATION_SAMPLES)) { /* Otherwise, pre-populate with the standard sample locations. If * the driver doesn't support standard sample locations, it probably * doesn't support custom locations either and can completely ignore