diff options
author | Ian Romanick <[email protected]> | 2017-06-02 19:08:15 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-06-26 15:20:09 -0700 |
commit | f73c63a17558263eb0bc885bfbc61048c7b9d8eb (patch) | |
tree | 17901c1f986ddb134f34040028aca4cccf6590f1 /src/mesa/drivers/dri/i915/intel_tex.c | |
parent | 122e6dc45112e1627da11161b488d89e29730c81 (diff) |
i915: On Gen <= 3 there are no array textures
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tex.c b/src/mesa/drivers/dri/i915/intel_tex.c index 4c48d3bd3eb..0b24c7e935b 100644 --- a/src/mesa/drivers/dri/i915/intel_tex.c +++ b/src/mesa/drivers/dri/i915/intel_tex.c @@ -140,10 +140,6 @@ intel_map_texture_image(struct gl_context *ctx, /* Our texture data is always stored in a miptree. */ assert(mt); - /* Check that our caller wasn't confused about how to map a 1D texture. */ - assert(tex_image->TexObject->Target != GL_TEXTURE_1D_ARRAY || - h == 1); - /* intel_miptree_map operates on a unified "slice" number that references the * cube face, since it's all just slices to the miptree code. */ |