mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 10:08:08 +02:00
pco: handle remaining loadop depth formats
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
18ab2d2cbb
commit
f5588439fa
1 changed files with 3 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ to_pbe_format(nir_builder *b, enum pipe_format format, nir_def **input)
|
|||
/* For loadops. */
|
||||
case PIPE_FORMAT_Z32_FLOAT:
|
||||
case PIPE_FORMAT_Z32_FLOAT_S8X24_UINT:
|
||||
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
|
||||
case PIPE_FORMAT_Z16_UNORM:
|
||||
case PIPE_FORMAT_Z24X8_UNORM:
|
||||
assert(b->shader->info.internal);
|
||||
return PIPE_FORMAT_R32_FLOAT;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue