diff options
author | Lionel Landwerlin <[email protected]> | 2017-08-30 09:29:11 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-08-30 17:59:18 +0100 |
commit | a5f08214850aab5b0b23bfdcab26baab27446b0c (patch) | |
tree | 08e89323994d76b90de1d805e825ba631e20f117 /src/mesa/drivers/dri/i965/intel_tex_image.c | |
parent | 27e273578f05521baac08d7de915c95312e3a595 (diff) |
i965: drop brw->has_llc in favor of devinfo->has_llc
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_image.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c index 39c1c9a454a..4661581244e 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_image.c +++ b/src/mesa/drivers/dri/i965/intel_tex_image.c @@ -401,7 +401,7 @@ intel_gettexsubimage_tiled_memcpy(struct gl_context *ctx, * with _mesa_image_row_stride. However, before removing the restrictions * we need tests. */ - if (!brw->has_llc || + if (!devinfo->has_llc || !(type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_INT_8_8_8_8_REV) || !(texImage->TexObject->Target == GL_TEXTURE_2D || texImage->TexObject->Target == GL_TEXTURE_RECTANGLE) || |