mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 06:50:10 +01:00
isl: add support for R64 storage image lowering
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32676>
This commit is contained in:
parent
ba03e6734c
commit
cfa1d40be5
2 changed files with 6 additions and 0 deletions
|
|
@ -600,6 +600,9 @@ isl_format_for_pipe_format(enum pipe_format pf)
|
|||
[PIPE_FORMAT_R32G32B32_SINT] = ISL_FORMAT_R32G32B32_SINT,
|
||||
[PIPE_FORMAT_R32G32B32A32_SINT] = ISL_FORMAT_R32G32B32A32_SINT,
|
||||
|
||||
[PIPE_FORMAT_R64_UINT] = ISL_FORMAT_R64_PASSTHRU,
|
||||
[PIPE_FORMAT_R64_SINT] = ISL_FORMAT_R64_PASSTHRU,
|
||||
|
||||
[PIPE_FORMAT_B10G10R10A2_UINT] = ISL_FORMAT_B10G10R10A2_UINT,
|
||||
|
||||
[PIPE_FORMAT_ETC1_RGB8] = ISL_FORMAT_ETC1_RGB8,
|
||||
|
|
|
|||
|
|
@ -224,6 +224,9 @@ isl_lower_storage_image_format(const struct intel_device_info *devinfo,
|
|||
case ISL_FORMAT_R8_SNORM:
|
||||
return (devinfo->ver >= 11 ? format : ISL_FORMAT_R8_UINT);
|
||||
|
||||
case ISL_FORMAT_R64_PASSTHRU:
|
||||
return ISL_FORMAT_R32G32_UINT;
|
||||
|
||||
default:
|
||||
assert(!"Unknown image format");
|
||||
return ISL_FORMAT_UNSUPPORTED;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue