From: Kenneth Graunke Date: Sun, 25 Sep 2016 22:33:03 +0000 (-0700) Subject: anv: Enable tessellation shaders. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23a36c28118f6967654e963fc37c6b4c3b37db1b;p=mesa.git anv: Enable tessellation shaders. Signed-off-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- 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 =