Lines Matching refs:ginfo

2408       const VkRayTracingShaderGroupCreateInfoKHR *ginfo = &info->pGroups[i];
2410 if (ginfo->type != VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR)
2415 uint32_t intersection_idx = ginfo->intersectionShader;
2418 uint32_t any_hit_idx = ginfo->anyHitShader;
2598 const VkRayTracingShaderGroupCreateInfoKHR *ginfo = &info->pGroups[i];
2600 group->type = ginfo->type;
2601 switch (ginfo->type) {
2603 assert(ginfo->generalShader < info->stageCount);
2604 group->general = stages[ginfo->generalShader].bin;
2608 if (ginfo->anyHitShader < info->stageCount)
2609 group->any_hit = stages[ginfo->anyHitShader].bin;
2611 if (ginfo->closestHitShader < info->stageCount)
2612 group->closest_hit = stages[ginfo->closestHitShader].bin;
2616 if (ginfo->closestHitShader < info->stageCount)
2617 group->closest_hit = stages[ginfo->closestHitShader].bin;
2896 const VkRayTracingShaderGroupCreateInfoKHR *ginfo =
2898 assert_rt_stage_index_valid(pCreateInfo, ginfo->generalShader,
2902 assert_rt_stage_index_valid(pCreateInfo, ginfo->closestHitShader,
2904 assert_rt_stage_index_valid(pCreateInfo, ginfo->anyHitShader,
2906 assert_rt_stage_index_valid(pCreateInfo, ginfo->intersectionShader,
2908 switch (ginfo->type) {
2910 assert(ginfo->generalShader < pCreateInfo->stageCount);
2911 assert(ginfo->anyHitShader == VK_SHADER_UNUSED_KHR);
2912 assert(ginfo->closestHitShader == VK_SHADER_UNUSED_KHR);
2913 assert(ginfo->intersectionShader == VK_SHADER_UNUSED_KHR);
2917 assert(ginfo->generalShader == VK_SHADER_UNUSED_KHR);
2918 assert(ginfo->intersectionShader == VK_SHADER_UNUSED_KHR);
2922 assert(ginfo->generalShader == VK_SHADER_UNUSED_KHR);