mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
nvfx: Silence uninitialized variable warnings.
This commit is contained in:
parent
013e4cca9f
commit
b1a5c63467
1 changed files with 2 additions and 0 deletions
|
|
@ -377,6 +377,8 @@ tgsi_src(struct nvfx_vpc *vpc, const struct tgsi_full_src_register *fsrc) {
|
|||
src.swz[2] = fsrc->Register.SwizzleZ;
|
||||
src.swz[3] = fsrc->Register.SwizzleW;
|
||||
src.indirect = 0;
|
||||
src.indirect_reg = 0;
|
||||
src.indirect_swz = 0;
|
||||
|
||||
if(fsrc->Register.Indirect) {
|
||||
if(fsrc->Indirect.File == TGSI_FILE_ADDRESS &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue