zink: use the current compute shader, not the base one

this is the current variant and the one that should be used

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15501>
This commit is contained in:
Mike Blumenkrantz 2022-03-21 16:21:16 -04:00 committed by Marge Bot
parent d8d7ba8b5d
commit f9390dac23

View file

@ -318,7 +318,7 @@ zink_create_compute_pipeline(struct zink_screen *screen, struct zink_compute_pro
VkPipelineShaderStageCreateInfo stage = {0};
stage.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO;
stage.stage = VK_SHADER_STAGE_COMPUTE_BIT;
stage.module = comp->module->shader;
stage.module = comp->curr->shader;
stage.pName = "main";
VkSpecializationInfo sinfo = {0};