mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
anv: Enable multi-layer aux-map init for HIZ+CCS
Fixes rendering corruption in the shadowmappingcascade Sascha Willems Vulkan demo. To see the corruption, I adjusted the demo options as follows: 1. Enable "Display depth map" 2. Set "Split lambda" to 0.100 3. Make "Cascade" non-zero. Fixes:80ffbe915f("anv: Add support for HiZ+CCS") Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7046> (cherry picked from commitcce6fc3b5c)
This commit is contained in:
parent
374f82ba72
commit
21f7264ff4
2 changed files with 2 additions and 2 deletions
|
|
@ -1237,7 +1237,7 @@
|
|||
"description": "anv: Enable multi-layer aux-map init for HIZ+CCS",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "80ffbe915fe1cb0b8229d349e2d02f56d17c3a19"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -571,7 +571,7 @@ transition_depth_buffer(struct anv_cmd_buffer *cmd_buffer,
|
|||
cmd_buffer->device->physical->has_implicit_ccs &&
|
||||
cmd_buffer->device->info.has_aux_map) {
|
||||
anv_image_init_aux_tt(cmd_buffer, image, VK_IMAGE_ASPECT_DEPTH_BIT,
|
||||
0, 1, 0, 1);
|
||||
0, 1, base_layer, layer_count);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue