projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e188f2
)
i965/gen7: Set tile_x/y to 0 in the no-stencil case.
author
Eric Anholt
<eric@anholt.net>
Thu, 10 May 2012 15:49:17 +0000
(08:49 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 14 May 2012 23:51:00 +0000
(16:51 -0700)
Fixes compiler warnings.
src/mesa/drivers/dri/i965/gen7_misc_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/gen7_misc_state.c
b/src/mesa/drivers/dri/i965/gen7_misc_state.c
index 4a5b5a6ae2eaef31263fd41e07708ea11763b05a..53628b9210a07922a9b0824c0c3c37df032036c3 100644
(file)
--- a/
src/mesa/drivers/dri/i965/gen7_misc_state.c
+++ b/
src/mesa/drivers/dri/i965/gen7_misc_state.c
@@
-105,7
+105,7
@@
static void emit_depthbuffer(struct brw_context *brw)
if (depth_mt == NULL) {
uint32_t dw1 = BRW_DEPTHFORMAT_D32_FLOAT << 18;
uint32_t dw3 = 0;
- uint32_t tile_x
, tile_y
;
+ uint32_t tile_x
= 0, tile_y = 0
;
if (stencil_mt == NULL) {
dw1 |= (BRW_SURFACE_NULL << 29);