mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 01:20:22 +01:00
radv/rt: Remove useless assert
If it's NULL, the code will segfault anyways. Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25224>
This commit is contained in:
parent
8198805e1f
commit
59d490b8aa
1 changed files with 0 additions and 1 deletions
|
|
@ -191,7 +191,6 @@ radv_rt_fill_group_info(struct radv_device *device, const struct radv_ray_tracin
|
|||
if (groups[idx].recursive_shader < pCreateInfo->stageCount) {
|
||||
capture_replay_blocks[groups[idx].recursive_shader] = handle->recursive_shader_alloc;
|
||||
} else if (groups[idx].recursive_shader != VK_SHADER_UNUSED_KHR) {
|
||||
assert(stages[groups[idx].recursive_shader].shader);
|
||||
struct radv_shader *library_shader =
|
||||
container_of(stages[groups[idx].recursive_shader].shader, struct radv_shader, base);
|
||||
simple_mtx_lock(&library_shader->replay_mtx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue