mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
i965: Fix compiler warnings from hiz changes.
This commit is contained in:
parent
f7cbd80028
commit
254b24f195
2 changed files with 0 additions and 4 deletions
|
|
@ -330,8 +330,6 @@ static void emit_depthbuffer(struct brw_context *brw)
|
|||
* Section 7.5.5.1.1 3DSTATE_DEPTH_BUFFER, Bit 1.27 Tiled Surface:
|
||||
* [DevGT+]: This field must be set to TRUE.
|
||||
*/
|
||||
struct intel_region *region = stencil_mt->region;
|
||||
|
||||
assert(intel->has_separate_stencil);
|
||||
|
||||
BEGIN_BATCH(len);
|
||||
|
|
|
|||
|
|
@ -69,8 +69,6 @@ static void emit_depthbuffer(struct brw_context *brw)
|
|||
if (stencil_mt == NULL) {
|
||||
dw1 |= (BRW_SURFACE_NULL << 29);
|
||||
} else {
|
||||
struct intel_region *region = stencil_mt->region;
|
||||
|
||||
/* _NEW_STENCIL: enable stencil buffer writes */
|
||||
dw1 |= ((ctx->Stencil.WriteMask != 0) << 27);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue