aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_tex_image.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-20 15:03:19 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:24 -0700
commitd71b7301ec333a05a26865ae29e49fbc0d98bdc1 (patch)
tree3c81b11086969e22326dc6933b9e3f545af6322b /src/mesa/drivers/dri/i915/intel_tex_image.c
parentbe63c1c993ddb0e5756d101500ae3e1129597ab6 (diff)
i915: Drop all has_llc code.
i915 never has llc. 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.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex_image.c b/src/mesa/drivers/dri/i915/intel_tex_image.c
index 68687df03f7..9b1336d7593 100644
--- a/src/mesa/drivers/dri/i915/intel_tex_image.c
+++ b/src/mesa/drivers/dri/i915/intel_tex_image.c
@@ -187,22 +187,10 @@ intelTexImage(struct gl_context * ctx,
GLenum format, GLenum type, const void *pixels,
const struct gl_pixelstore_attrib *unpack)
{
- bool ok;
-
DBG("%s target %s level %d %dx%dx%d\n", __FUNCTION__,
_mesa_lookup_enum_by_nr(texImage->TexObject->Target),
texImage->Level, texImage->Width, texImage->Height, texImage->Depth);
- ok = intel_texsubimage_tiled_memcpy(ctx, dims, texImage,
- 0, 0, 0, /*x,y,z offsets*/
- texImage->Width,
- texImage->Height,
- texImage->Depth,
- format, type, pixels, unpack,
- true /*for_glTexImage*/);
- if (ok)
- return;
-
/* Attempt to use the blitter for PBO image uploads.
*/
if (dims <= 2 &&