summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_pipeline.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-01-31 21:37:48 +0100
committerBas Nieuwenhuizen <[email protected]>2017-02-01 19:49:40 +0100
commitf5f8eb2c7cb425f63798daaf151cb517c8bd6a0d (patch)
treed31402d88a75d9d533c13d78beb0e7a3d65fd8a9 /src/amd/vulkan/radv_pipeline.c
parentcf8a11c1baccebbd6dda38da8639e1a6eeccd7c7 (diff)
radv: Enable VK_KHR_shader_draw_parameters.
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline.c')
-rw-r--r--src/amd/vulkan/radv_pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index bf3007ba2de..53f06acc092 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -207,6 +207,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
}
}
const struct nir_spirv_supported_extensions supported_ext = {
+ .draw_parameters = true,
.float64 = true
};
entry_point = spirv_to_nir(spirv, module->size / 4,