diff options
author | Jordan Justen <[email protected]> | 2014-05-28 09:05:37 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2014-08-15 20:11:41 -0700 |
commit | 27f5fa7a3777332b2e60ccf10dc636ad84a3c478 (patch) | |
tree | b916d200e7d2a53222bbddcee32b4d64720ca694 /src/mesa/drivers/dri/i965/intel_tex_validate.c | |
parent | 7e856d0b180d3fc0c25f94156ded4a539f456030 (diff) |
i965: Allow forcing miptree->array_layout = ALL_SLICES_AT_EACH_LOD
gen6 does not support multiple miplevels with separate
stencil/hiz. Therefore we need to layout its miptree with no mipmap
spacing between the slices of each miplevel.
v3:
* Use new array_layout enum
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_validate.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_validate.c b/src/mesa/drivers/dri/i965/intel_tex_validate.c index 38cee2a11d0..0bf0393803f 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_validate.c +++ b/src/mesa/drivers/dri/i965/intel_tex_validate.c @@ -137,7 +137,8 @@ intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit) depth, true, 0 /* num_samples */, - INTEL_MIPTREE_TILING_ANY); + INTEL_MIPTREE_TILING_ANY, + false); if (!intelObj->mt) return false; } |