mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 15:40:11 +01:00
i965/gen7: Set tile_x/y to 0 in the no-stencil case.
Fixes compiler warnings.
This commit is contained in:
parent
1e188f2dae
commit
206eca631b
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ static void emit_depthbuffer(struct brw_context *brw)
|
||||||
if (depth_mt == NULL) {
|
if (depth_mt == NULL) {
|
||||||
uint32_t dw1 = BRW_DEPTHFORMAT_D32_FLOAT << 18;
|
uint32_t dw1 = BRW_DEPTHFORMAT_D32_FLOAT << 18;
|
||||||
uint32_t dw3 = 0;
|
uint32_t dw3 = 0;
|
||||||
uint32_t tile_x, tile_y;
|
uint32_t tile_x = 0, tile_y = 0;
|
||||||
|
|
||||||
if (stencil_mt == NULL) {
|
if (stencil_mt == NULL) {
|
||||||
dw1 |= (BRW_SURFACE_NULL << 29);
|
dw1 |= (BRW_SURFACE_NULL << 29);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue