radv: Add support for shaderStorageImageReadWithoutFormat.
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:
parent
501a4c0d73
commit
4e6095ff61
2 changed files with 2 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ void radv_GetPhysicalDeviceFeatures(
|
|||
.shaderSampledImageArrayDynamicIndexing = true,
|
||||
.shaderStorageBufferArrayDynamicIndexing = true,
|
||||
.shaderStorageImageArrayDynamicIndexing = true,
|
||||
.shaderStorageImageReadWithoutFormat = false,
|
||||
.shaderStorageImageReadWithoutFormat = true,
|
||||
.shaderStorageImageWriteWithoutFormat = true,
|
||||
.shaderClipDistance = true,
|
||||
.shaderCullDistance = true,
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
|
|||
const struct nir_spirv_supported_extensions supported_ext = {
|
||||
.draw_parameters = true,
|
||||
.float64 = true,
|
||||
.image_read_without_format = true,
|
||||
.image_write_without_format = true,
|
||||
};
|
||||
entry_point = spirv_to_nir(spirv, module->size / 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue