Przeglądaj źródła

i915g: actually try to clear 16bit depth bufs

... with the right value.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tags/mesa-8.0-rc1
Daniel Vetter 14 lat temu
rodzic
commit
ce775dc1b6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/gallium/drivers/i915/i915_clear.c

+ 1
- 1
src/gallium/drivers/i915/i915_clear.c Wyświetl plik

@@ -102,7 +102,7 @@ i915_clear_emit(struct pipe_context *pipe, unsigned buffers,

depth_clear_bbp = 32;
} else {
clear_depth = (clear_depth & 0xffff) | (clear_depth << 16);
clear_depth = (packed_z_stencil & 0xffff) | (packed_z_stencil << 16);
depth_clear_bbp = 16;
}
}

Ładowanie…
Anuluj
Zapisz