From: Dave Airlie Date: Wed, 15 Feb 2017 04:58:48 +0000 (+0000) Subject: radv: enable Int64 capability (v2) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bc40ae9524477de9d4f73b57b3ae69a40923695;p=mesa.git radv: enable Int64 capability (v2) I'm not 100% sure this is all wired up but it looks like it is. v2: actually enable extension. Signed-off-by: Dave Airlie Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 427d35769d9..f2fe8230bda 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -568,7 +568,7 @@ void radv_GetPhysicalDeviceFeatures( .shaderClipDistance = true, .shaderCullDistance = true, .shaderFloat64 = true, - .shaderInt64 = false, + .shaderInt64 = true, .shaderInt16 = false, .sparseBinding = true, .variableMultisampleRate = true, diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index d05acd28506..49610a1a223 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -229,6 +229,7 @@ radv_shader_compile_to_nir(struct radv_device *device, .image_read_without_format = true, .image_write_without_format = true, .tessellation = true, + .int64 = true, }; entry_point = spirv_to_nir(spirv, module->size / 4, spec_entries, num_spec_entries,