anv: Enable tessellation shaders.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Kenneth Graunke
2016-09-25 15:33:03 -07:00
parent ebd88b5aa3
commit 23a36c2811
2 changed files with 2 additions and 1 deletions

View File

@@ -445,7 +445,7 @@ void anv_GetPhysicalDeviceFeatures(
.imageCubeArray = true, .imageCubeArray = true,
.independentBlend = true, .independentBlend = true,
.geometryShader = true, .geometryShader = true,
.tessellationShader = false, .tessellationShader = true,
.sampleRateShading = true, .sampleRateShading = true,
.dualSrcBlend = true, .dualSrcBlend = true,
.logicOp = true, .logicOp = true,

View File

@@ -126,6 +126,7 @@ anv_shader_compile_to_nir(struct anv_device *device,
const struct nir_spirv_supported_extensions supported_ext = { const struct nir_spirv_supported_extensions supported_ext = {
.float64 = device->instance->physicalDevice.info.gen >= 8, .float64 = device->instance->physicalDevice.info.gen >= 8,
.tessellation = true,
}; };
nir_function *entry_point = nir_function *entry_point =