summaryrefslogtreecommitdiff
path: root/src/intel/vulkan/anv_pipeline.c
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2019-03-28 10:36:43 -0700
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2019-04-08 19:29:33 -0700
commit45a4129392c8acc07807ae2bd38f1869e797142e (patch)
treeec69419bc9a7285e481f5eb26000fbc3335838ca /src/intel/vulkan/anv_pipeline.c
parentbd73531677f45b4ab1bebb910ab2b0e24c349643 (diff)
anv: Implement VK_NV_compute_shader_derivatives
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline.c')
-rw-r--r--src/intel/vulkan/anv_pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index 1c51b83b5ba..b0fef540e45 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -137,6 +137,7 @@ anv_shader_compile_to_nir(struct anv_device *device,
struct spirv_to_nir_options spirv_options = {
.lower_workgroup_access_to_offsets = true,
.caps = {
+ .derivative_group = true,
.device_group = true,
.draw_parameters = true,
.float64 = pdevice->info.gen >= 8,