diff options
author | Jason Ekstrand <[email protected]> | 2017-02-23 16:18:00 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-03 13:59:29 -0800 |
commit | b3135c3cf36226e391227be4c546a6a0abae6d9d (patch) | |
tree | 9c84fd94e70be4e9e387e87b700fcec90a9c4499 | |
parent | bc456749bda67369bccb6e4529c981d84507fa65 (diff) |
anv: Advertise shaderInt64 on Broadwell and above
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
-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 a5b91fd6d32..fbcbd40c61f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -489,7 +489,7 @@ void anv_GetPhysicalDeviceFeatures( .shaderClipDistance = true, .shaderCullDistance = true, .shaderFloat64 = pdevice->info.gen >= 8, - .shaderInt64 = false, + .shaderInt64 = pdevice->info.gen >= 8, .shaderInt16 = false, .shaderResourceMinLod = false, .variableMultisampleRate = false, diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 91a3becad50..64e409b7d42 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, + .int64 = device->instance->physicalDevice.info.gen >= 8, .tessellation = true, .draw_parameters = true, .image_write_without_format = true, |