anv/pipeline: Pass through specialization constants
[mesa.git] / src / vulkan / gen8_pipeline.c
index dee3c4049c2bebc76e0fd76f6057155db095ebe4..2be71a05af8ed7153ab956aa2c02013b557def19 100644 (file)
@@ -666,7 +666,8 @@ VkResult genX(compute_pipeline_create)(
    assert(pCreateInfo->stage.stage == VK_SHADER_STAGE_COMPUTE_BIT);
    ANV_FROM_HANDLE(anv_shader_module, module,  pCreateInfo->stage.module);
    anv_pipeline_compile_cs(pipeline, cache, pCreateInfo, module,
-                           pCreateInfo->stage.pName);
+                           pCreateInfo->stage.pName,
+                           pCreateInfo->stage.pSpecializationInfo);
 
    pipeline->use_repclear = false;