mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
anv: Fix ray query shadow stack buffer size
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38685>
(cherry picked from commit 09e8a54087)
This commit is contained in:
parent
53e9ba2b61
commit
300cb6962a
2 changed files with 2 additions and 2 deletions
|
|
@ -1964,7 +1964,7 @@
|
|||
"description": "anv: Fix ray query shadow stack buffer size",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -459,7 +459,7 @@ anv_cmd_buffer_set_ray_query_buffer(struct anv_cmd_buffer *cmd_buffer,
|
|||
if (bo == NULL) {
|
||||
struct anv_bo *new_bo;
|
||||
VkResult result = anv_device_alloc_bo(device, "RT queries shadow",
|
||||
ray_shadow_size,
|
||||
1 << shadow_size_log2,
|
||||
ANV_BO_ALLOC_INTERNAL, /* alloc_flags */
|
||||
0, /* explicit_address */
|
||||
&new_bo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue