anv: Advertise shaderInt64 on Broadwell and above
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
parent
bc456749bd
commit
b3135c3cf3
|
@ -489,7 +489,7 @@ void anv_GetPhysicalDeviceFeatures(
|
||||||
.shaderClipDistance = true,
|
.shaderClipDistance = true,
|
||||||
.shaderCullDistance = true,
|
.shaderCullDistance = true,
|
||||||
.shaderFloat64 = pdevice->info.gen >= 8,
|
.shaderFloat64 = pdevice->info.gen >= 8,
|
||||||
.shaderInt64 = false,
|
.shaderInt64 = pdevice->info.gen >= 8,
|
||||||
.shaderInt16 = false,
|
.shaderInt16 = false,
|
||||||
.shaderResourceMinLod = false,
|
.shaderResourceMinLod = false,
|
||||||
.variableMultisampleRate = false,
|
.variableMultisampleRate = false,
|
||||||
|
|
|
@ -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,
|
||||||
|
.int64 = device->instance->physicalDevice.info.gen >= 8,
|
||||||
.tessellation = true,
|
.tessellation = true,
|
||||||
.draw_parameters = true,
|
.draw_parameters = true,
|
||||||
.image_write_without_format = true,
|
.image_write_without_format = true,
|
||||||
|
|
Loading…
Reference in New Issue