mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
hasvk: We can use ARYSPC_LOD0 for layered DPB.
This commit is contained in:
1 parent
49447ce96e
commit
409568b8d4
4 files changed
+22
-19
No files matched your search
@@ -251,9 +251,10 @@ anv_h264_decode_video(struct anv_cmd_buffer *cmd_buffer,
|
||||
const struct anv_image *img = iv->image;
|
||||
|
||||
#if GFX_VER < 8
|
||||
const bool gen7_layered_clamp = img->vk.array_layers > 1;
|
||||
const bool gen7_layered_clamp =
|
||||
img->vk.array_layers > 1 && !img->vid_layered_interleaved;
|
||||
if (gen7_layered_clamp)
|
||||
mesa_logw_once("Layered DPB is broken on gen7 when the array pitch is not tile aligned.");
|
||||
mesa_logw_once("Layered DPB is broken on GFX 7 when the array pitch is not tile aligned.");
|
||||
#else
|
||||
const bool gen7_layered_clamp = false;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user