summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nve4_compute.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-04-12 00:22:30 +0100
committerChristoph Bumiller <[email protected]>2013-04-12 17:08:26 +0200
commit249f3d73cf5e9d22c592a619830a2f40912e6197 (patch)
tree821196aa0d0743d71184a5a290e328081b5c0c39 /src/gallium/drivers/nvc0/nve4_compute.c
parent4da54c91d24da891c56957f29274e7821c8254f6 (diff)
nv50/codegen: do not emitATOM() if the subOp is unknown
For debug build we'll hit the assert, for release we are going to emit random data as subOp is used uninitilised. Spotted by gcc codegen/nv50_ir_emit_nv50.cpp: In member function 'void nv50_ir::CodeEmitterNV50::emitATOM(const nv50_ir::Instruction*)': codegen/nv50_ir_emit_nv50.cpp:1554:12: warning: 'subOp' may be used uninitialized in this function [-Wmaybe-uninitialized] uint8_t subOp; ^ Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nvc0/nve4_compute.c')
0 files changed, 0 insertions, 0 deletions