dzn: Drop useless while(link_mask != 0)
That's not a `do {} while();`, just a simple `while() {}`, the second while statement is a NOP. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17140>
This commit is contained in:
parent
31357f3cf4
commit
b886619313
|
@ -395,7 +395,7 @@ dzn_graphics_pipeline_compile_shaders(struct dzn_device *device,
|
|||
dxil_spirv_nir_link(stages[stage].nir,
|
||||
prev_stage != MESA_SHADER_NONE ?
|
||||
stages[prev_stage].nir : NULL);
|
||||
} while (link_mask != 0);
|
||||
}
|
||||
|
||||
if (stages[MESA_SHADER_VERTEX].nir) {
|
||||
/* Now, declare one D3D12_INPUT_ELEMENT_DESC per VS input variable, so
|
||||
|
|
Loading…
Reference in New Issue