[Mesa-dev] [PATCH] radv: enable Int64 capability

Dave Airlie airlied at gmail.com
Wed Feb 15 04:59:40 UTC 2017


From: Dave Airlie <airlied at redhat.com>

I'm not 100% sure this is all wired up but it looks like it is.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/amd/vulkan/radv_pipeline.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index cbd846a..2e72902 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -208,7 +208,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
 		}
 		const struct nir_spirv_supported_extensions supported_ext = {
 			.draw_parameters = true,
-			.float64 = true
+			.float64 = true,
+			.int64 = true,
 		};
 		entry_point = spirv_to_nir(spirv, module->size / 4,
 					   spec_entries, num_spec_entries,
-- 
2.7.4



More information about the mesa-dev mailing list