summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen8_pipeline.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-12 16:30:43 -0800
committerJason Ekstrand <[email protected]>2016-01-13 15:18:36 -0800
commit9b7e08118b382b1a0d4915275c6a760a517cb878 (patch)
tree9e62933584697e723e936b3dfe40d1f88e3db5bb /src/vulkan/gen8_pipeline.c
parentc95c3b2c213137e807522d132e06c841f33bfd25 (diff)
anv/pipeline: Pass through specialization constants
Diffstat (limited to 'src/vulkan/gen8_pipeline.c')
-rw-r--r--src/vulkan/gen8_pipeline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c
index dee3c4049c2..2be71a05af8 100644
--- a/src/vulkan/gen8_pipeline.c
+++ b/src/vulkan/gen8_pipeline.c
@@ -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;