aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-02-15 04:58:48 +0000
committerConnor Abbott <[email protected]>2017-07-03 11:58:59 -0700
commit1bc40ae9524477de9d4f73b57b3ae69a40923695 (patch)
tree27f0912ee5160a69ea01a1cf0b3fa99152c13173 /src/amd
parent2ec77f7a3c95802cd54b015f613b044c0d135f72 (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/amd')
-rw-r--r--src/amd/vulkan/radv_device.c2
-rw-r--r--src/amd/vulkan/radv_pipeline.c1
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,