mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
r600/sfn: Remove duplicate assignment
Fix defect reported by Coverity Scan.
Self assignment (NO_EFFECT)
self_assign: Assigning sh->info.fs.depth_layout to itself has no effect.
Fixes: bbd265b8e8 ("r600+sfn: Assign ps_conservative_z and switch to NIR defines")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23414>
This commit is contained in:
parent
12b816ce79
commit
926e97d5df
1 changed files with 1 additions and 1 deletions
|
|
@ -1089,7 +1089,7 @@ r600_shader_from_nir(struct r600_context *rctx,
|
|||
|
||||
if (sh->info.stage == MESA_SHADER_FRAGMENT)
|
||||
pipeshader->shader.ps_conservative_z =
|
||||
sh->info.fs.depth_layout = sh->info.fs.depth_layout;
|
||||
sh->info.fs.depth_layout;
|
||||
|
||||
if (sh->info.stage == MESA_SHADER_GEOMETRY) {
|
||||
r600::sfn_log << r600::SfnLog::shader_info
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue