mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
r600g/sb: Initialize shader::dce_flags.
Fixes "Uninitialized scalar field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
00b5d8aeae
commit
c325aa5d80
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ shader::shader(sb_context &sctx, shader_target t, unsigned id)
|
|||
coal(*this), bbs(),
|
||||
target(t), vt(ex), ex(*this), root(),
|
||||
compute_interferences(),
|
||||
has_alu_predication(), uses_gradients(), safe_math(), ngpr(), nstack() {}
|
||||
has_alu_predication(),
|
||||
uses_gradients(), safe_math(), ngpr(), nstack(), dce_flags() {}
|
||||
|
||||
bool shader::assign_slot(alu_node* n, alu_node *slots[5]) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue