mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01: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>
This commit is contained in:
parent
d8447fd392
commit
09e8a54087
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ anv_cmd_buffer_set_rt_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