OSDN Git Service

r600g: Ensure r600_src is initialized in tgsi_exp function.
authorVinson Lee <vlee@vmware.com>
Wed, 20 Oct 2010 19:44:08 +0000 (12:44 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 20 Oct 2010 19:44:08 +0000 (12:44 -0700)
commit89c26866f05dcf8fbb716e38d4780cebcae71653
treec8ececcf97441124fc7682fb472bdba45d181e55
parent289900439f0f327910496f6bc362b95930eebb53
r600g: Ensure r600_src is initialized in tgsi_exp function.

Silences these GCC warnings.
r600_shader.c: In function 'tgsi_exp':
r600_shader.c:2339: warning: 'r600_src[0].rel' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].abs' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].neg' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].chan' is used uninitialized in this function
r600_shader.c:2339: warning: 'r600_src[0].sel' is used uninitialized in this function
src/gallium/drivers/r600/r600_shader.c