anv: Use vk_pipeline_shader_stage_is_null()
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17337>
This commit is contained in:

committed by
Marge Bot

parent
c5af8bcc37
commit
e9b2862c1a
@@ -2677,8 +2677,7 @@ anv_pipeline_init_ray_tracing_stages(struct anv_ray_tracing_pipeline *pipeline,
|
||||
|
||||
for (uint32_t i = 0; i < info->stageCount; i++) {
|
||||
const VkPipelineShaderStageCreateInfo *sinfo = &info->pStages[i];
|
||||
VK_FROM_HANDLE(vk_shader_module, module, sinfo->module);
|
||||
if (module != NULL)
|
||||
if (vk_pipeline_shader_stage_is_null(sinfo))
|
||||
continue;
|
||||
|
||||
int64_t stage_start = os_time_get_nano();
|
||||
|
Reference in New Issue
Block a user