From 23a36c28118f6967654e963fc37c6b4c3b37db1b Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 25 Sep 2016 15:33:03 -0700 Subject: anv: Enable tessellation shaders. Signed-off-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_device.c | 2 +- src/intel/vulkan/anv_pipeline.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/intel') diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index bd33f105fa6..f58d1ac24b5 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -445,7 +445,7 @@ void anv_GetPhysicalDeviceFeatures( .imageCubeArray = true, .independentBlend = true, .geometryShader = true, - .tessellationShader = false, + .tessellationShader = true, .sampleRateShading = true, .dualSrcBlend = true, .logicOp = true, diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index fdec3ce6227..6c939b071da 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -126,6 +126,7 @@ anv_shader_compile_to_nir(struct anv_device *device, const struct nir_spirv_supported_extensions supported_ext = { .float64 = device->instance->physicalDevice.info.gen >= 8, + .tessellation = true, }; nir_function *entry_point = -- cgit v1.2.3