mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-29 15:00:38 +02:00
i915g: Use X tiling for textures
This is what the classic driver does, and it allows faster texture uploads.
This commit is contained in:
parent
0a523a8820
commit
2acc719374
1 changed files with 2 additions and 7 deletions
|
|
@ -181,13 +181,8 @@ i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex)
|
|||
if (tex->b.b.target == PIPE_TEXTURE_1D)
|
||||
return I915_TILE_NONE;
|
||||
|
||||
if (util_format_is_s3tc(tex->b.b.format))
|
||||
return I915_TILE_X;
|
||||
|
||||
if (is->debug.use_blitter)
|
||||
return I915_TILE_X;
|
||||
else
|
||||
return I915_TILE_Y;
|
||||
/* Use X tiling for 2D, 3D and compressed textures */
|
||||
return I915_TILE_X;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue