intel->has_separate_stencil = brw->intelScreen->hw_has_separate_stencil;
intel->must_use_separate_stencil = brw->intelScreen->hw_must_use_separate_stencil;
- intel->has_hiz = intel->gen >= 6;
+ brw->has_hiz = intel->gen >= 6;
intel->has_llc = brw->intelScreen->hw_has_llc;
brw->has_swizzling = brw->intelScreen->hw_has_swizzling;
intel_fbo_init(brw);
if (!driQueryOptionb(&brw->optionCache, "hiz")) {
- intel->has_hiz = false;
+ brw->has_hiz = false;
/* On gen6, you can only do separate stencil with HIZ. */
if (intel->gen == 6)
intel->has_separate_stencil = false;