i915g: fix typo in #if
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 27 Jun 2019 17:10:12 +0000 (18:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Nov 2022 19:41:44 +0000 (19:41 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19963>

src/gallium/drivers/i915/i915_resource_texture.c

index 045dc7b..4b78bc5 100644 (file)
@@ -209,7 +209,7 @@ i9x5_scanout_layout(struct i915_texture *tex)
    i915_texture_set_image_offset(tex, 0, 0, 0, 0);
 
 
-#if DEBUG_TEXTURE
+#if DEBUG_TEXTURES
    debug_printf("%s size: %d,%d,%d offset %d,%d (0x%x)\n", __func__,
                 pt->width0, pt->height0, util_format_get_blocksize(pt->format),
                 tex->stride, tex->total_nblocksy,
@@ -241,7 +241,7 @@ i9x5_display_target_layout(struct i915_texture *tex)
    tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8);
    tex->tiling = I915_TILE_X;
 
-#if DEBUG_TEXTURE
+#if DEBUG_TEXTURES
    debug_printf("%s size: %d,%d,%d offset %d,%d (0x%x)\n", __func__,
                 pt->width0, pt->height0, util_format_get_blocksize(pt->format),
                 tex->stride, tex->total_nblocksy,