radv: enable Int64 capability (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 15 Feb 2017 04:58:48 +0000 (04:58 +0000)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 3 Jul 2017 18:58:59 +0000 (11:58 -0700)
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 <airlied@redhat.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c

index 427d35769d948621baad7ca0bc533a4270d7af3e..f2fe8230bda08b858b4f38ec3e8f740290244f4d 100644 (file)
@@ -568,7 +568,7 @@ void radv_GetPhysicalDeviceFeatures(
                .shaderClipDistance                       = true,
                .shaderCullDistance                       = true,
                .shaderFloat64                            = true,
-               .shaderInt64                              = false,
+               .shaderInt64                              = true,
                .shaderInt16                              = false,
                .sparseBinding                            = true,
                .variableMultisampleRate                  = true,
index d05acd28506ee9021bd44ae071021198d2e200b4..49610a1a223a0a45f960ba4e59a6524797b68ac0 100644 (file)
@@ -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,