radv/aco: enable shaderInt8 and VK_KHR_shader_float16_int8 on GFX6-GFX7
[mesa.git] / src / amd / vulkan / radv_shader.c
index 2ae60fe7d5eaa4201707d6ea917ed7938035d071..f6c09866113a5e18690ed4993b7b022c695e879f 100644 (file)
@@ -351,8 +351,6 @@ radv_shader_compile_to_nir(struct radv_device *device,
                                }
                        }
                }
-               bool int8_enable = !device->physical_device->use_aco ||
-                                  device->physical_device->rad_info.chip_class >= GFX8;
                const struct spirv_to_nir_options spirv_options = {
                        .lower_ubo_ssbo_access_to_offsets = true,
                        .caps = {
@@ -377,7 +375,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
                                .image_ms_array = true,
                                .image_read_without_format = true,
                                .image_write_without_format = true,
-                               .int8 = int8_enable,
+                               .int8 = true,
                                .int16 = true,
                                .int64 = true,
                                .int64_atomics = true,