diff options
author | Kenneth Graunke <[email protected]> | 2016-09-25 15:33:03 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-01-10 13:27:31 -0800 |
commit | 23a36c28118f6967654e963fc37c6b4c3b37db1b (patch) | |
tree | f26ee44c2735ecd8a07dcd8496e80defb0ae31e0 /src/intel/vulkan | |
parent | ebd88b5aa341e996ad75a10651b3420b1f43ca05 (diff) |
anv: Enable tessellation shaders.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 | ||||
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 1 |
2 files changed, 2 insertions, 1 deletions
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 = |