Skip to content

radesonsi: Remove unnecessary shader->selector NULL check.

Vinson Lee requested to merge vlee/mesa:fix-cid-1428784 into master

shader->selector->info.stage == MESA_SHADER_COMPUTE at this case statement.

Fix defect reported by Coverity Scan.

Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking shader->selector suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @mareko

Merge request reports