summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_pipeline.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-03-30 08:48:49 +0100
committerDave Airlie <[email protected]>2017-04-01 07:17:25 +1000
commitc011fe7452f5a0c90e1839e3549efc4c2ac665c1 (patch)
tree4fec28fd106ee3cea07af2ee31b3fdc82aa8faf1 /src/amd/vulkan/radv_pipeline.c
parentcb1518e96be44714c3925066379d8394adcc161e (diff)
radv: enable tessellation shaders.
This enables tessellation shaders and sets some values for the maximums. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[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 c2dd498b078..cf11362eade 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -212,6 +212,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
.float64 = true,
.image_read_without_format = true,
.image_write_without_format = true,
+ .tessellation = true,
};
entry_point = spirv_to_nir(spirv, module->size / 4,
spec_entries, num_spec_entries,