anv: Enable tessellation shaders.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
@@ -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,
|
||||||
|
@@ -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 =
|
||||||
|
Reference in New Issue
Block a user