瀏覽代碼

panfrost: Handle Z24_UNORM_S8_UINT as MALI_Z32_UNORM

Fixes dEQP-GLES3.functional.texture.format.sized.2d.depth24_stencil8_pot

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
master
Tomeu Vizoso 6 年之前
父節點
當前提交
f107059bb2
共有 1 個檔案被更改,包括 1 行新增 和 0 行删除
  1. 1
    0
      src/gallium/drivers/panfrost/pan_format.c

+ 1
- 0
src/gallium/drivers/panfrost/pan_format.c 查看文件

@@ -182,6 +182,7 @@ panfrost_find_format(const struct util_format_description *desc) {

case PIPE_FORMAT_Z32_UNORM:
case PIPE_FORMAT_Z24X8_UNORM:
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
return MALI_Z32_UNORM;

case PIPE_FORMAT_B5G6R5_UNORM:

Loading…
取消
儲存