aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_tex_image.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-20 11:25:58 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:23 -0700
commitf26104eb5b0a458e896b3903ee890b6fc6dcf3d0 (patch)
tree6ad5987e5c1ba759efb4522f31fc774b7257ab38 /src/mesa/drivers/dri/i915/intel_tex_image.c
parent0f31e06a2e466c52204c35d708eeec36563da6b5 (diff)
i915: Remove all the MSAA support code.
This hardware doesn't have MSAA support, so this code is all a waste for it. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tex_image.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tex_image.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex_image.c b/src/mesa/drivers/dri/i915/intel_tex_image.c
index b91b2b5dccb..a8f1413286d 100644
--- a/src/mesa/drivers/dri/i915/intel_tex_image.c
+++ b/src/mesa/drivers/dri/i915/intel_tex_image.c
@@ -103,7 +103,6 @@ intel_miptree_create_for_teximage(struct intel_context *intel,
height,
depth,
expect_accelerated_upload,
- intelImage->base.Base.NumSamples,
INTEL_MIPTREE_TILING_ANY);
}
@@ -259,7 +258,7 @@ intel_set_texture_image_region(struct gl_context *ctx,
intel_image->mt = intel_miptree_create_layout(intel, target, image->TexFormat,
0, 0,
width, height, 1,
- true, 0 /* num_samples */);
+ true);
if (intel_image->mt == NULL)
return;
intel_region_reference(&intel_image->mt->region, region);
@@ -342,7 +341,6 @@ intelSetTexBuffer2(__DRIcontext *pDRICtx, GLint target,
_mesa_lock_texture(&intel->ctx, texObj);
texImage = _mesa_get_tex_image(ctx, texObj, target, level);
- intel_miptree_make_shareable(intel, rb->mt);
intel_set_texture_image_region(ctx, texImage, rb->mt->region, target,
internalFormat, texFormat, 0,
rb->mt->region->width,