mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
i965/miptree: Stop setting FOR_SCANOUT for renderbuffers
Nothing created through intel_miptree_create_for_renderbuffer will ever be exposed externally so there's no need to set FOR_SCANOUT. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
9ef517276d
commit
9c09672ad4
1 changed files with 1 additions and 2 deletions
|
|
@ -1058,8 +1058,7 @@ intel_miptree_create_for_renderbuffer(struct brw_context *brw,
|
|||
uint32_t depth = 1;
|
||||
GLenum target = num_samples > 1 ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D;
|
||||
const uint32_t layout_flags = MIPTREE_LAYOUT_ACCELERATED_UPLOAD |
|
||||
MIPTREE_LAYOUT_TILING_ANY |
|
||||
MIPTREE_LAYOUT_FOR_SCANOUT;
|
||||
MIPTREE_LAYOUT_TILING_ANY;
|
||||
|
||||
mt = intel_miptree_create(brw, target, format, 0, 0,
|
||||
width, height, depth, num_samples,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue