diff options
author | Dave Airlie <[email protected]> | 2017-02-15 04:58:48 +0000 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2017-07-03 11:58:59 -0700 |
commit | 1bc40ae9524477de9d4f73b57b3ae69a40923695 (patch) | |
tree | 27f0912ee5160a69ea01a1cf0b3fa99152c13173 /src | |
parent | 2ec77f7a3c95802cd54b015f613b044c0d135f72 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 2 | ||||
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 1 |
2 files changed, 2 insertions, 1 deletions
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, |