radv: Add support for shaderStorageImageWriteWithoutFormat.
Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -464,7 +464,7 @@ void radv_GetPhysicalDeviceFeatures(
|
||||
.shaderStorageBufferArrayDynamicIndexing = true,
|
||||
.shaderStorageImageArrayDynamicIndexing = true,
|
||||
.shaderStorageImageReadWithoutFormat = false,
|
||||
.shaderStorageImageWriteWithoutFormat = false,
|
||||
.shaderStorageImageWriteWithoutFormat = true,
|
||||
.shaderClipDistance = true,
|
||||
.shaderCullDistance = true,
|
||||
.shaderFloat64 = true,
|
||||
|
@@ -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,
|
||||
.image_write_without_format = true,
|
||||
};
|
||||
entry_point = spirv_to_nir(spirv, module->size / 4,
|
||||
spec_entries, num_spec_entries,
|
||||
|
Reference in New Issue
Block a user