mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
nv30: silence some warnings
This commit is contained in:
parent
cd9ed05aec
commit
169912b71a
3 changed files with 3 additions and 3 deletions
|
|
@ -378,7 +378,7 @@ nv30_fragprog_parse_instruction(struct nv30_fpc *fpc,
|
|||
{
|
||||
const struct nv30_sreg none = nv30_sr(NV30SR_NONE, 0);
|
||||
struct nv30_sreg src[3], dst, tmp;
|
||||
int mask, sat, unit;
|
||||
int mask, sat, unit = 0;
|
||||
int ai = -1, ci = -1;
|
||||
int i;
|
||||
|
||||
|
|
|
|||
|
|
@ -538,7 +538,7 @@ nv30_set_framebuffer_state(struct pipe_context *pipe,
|
|||
{
|
||||
struct nv30_context *nv30 = nv30_context(pipe);
|
||||
struct pipe_surface *rt[4], *zeta = NULL;
|
||||
uint32_t rt_enable, rt_format, w, h;
|
||||
uint32_t rt_enable, rt_format, w = 0, h = 0;
|
||||
int i, colour_format = 0, zeta_format = 0;
|
||||
|
||||
rt_enable = 0;
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ nv30_vbo_arrays_update(struct nv30_context *nv30)
|
|||
{
|
||||
struct nv30_vertex_program *vp = nv30->vertprog.active;
|
||||
uint32_t inputs, vtxfmt[16];
|
||||
int hw, num_hw;
|
||||
int hw, num_hw = 0;
|
||||
|
||||
nv30->vb_enable = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue