radv: Fix inserting stack_size into the cache
Fixes: 3e03fe4
("radv/rt: move stack_sizes into radv_ray_tracing_module")
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21969>
This commit is contained in:

committed by
Marge Bot

parent
3887f64dc3
commit
0f18bb4076
@@ -470,7 +470,7 @@ radv_pipeline_cache_insert_shaders(struct radv_device *device, struct radv_pipel
|
||||
}
|
||||
|
||||
for (int i = 0; i < num_rt_groups; ++i) {
|
||||
memcpy(p, &rt_groups->stack_size, sizeof(struct radv_pipeline_shader_stack_size));
|
||||
memcpy(p, &rt_groups[i].stack_size, sizeof(struct radv_pipeline_shader_stack_size));
|
||||
p += sizeof(struct radv_pipeline_shader_stack_size);
|
||||
}
|
||||
entry->num_stack_sizes = num_rt_groups;
|
||||
|
Reference in New Issue
Block a user