mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 23:20:14 +01:00
i915g: Implement GL_STREAM_* for textures by using untiled textures.
This commit is contained in:
parent
d269ce0a39
commit
52b75c6165
1 changed files with 1 additions and 1 deletions
|
|
@ -958,7 +958,7 @@ i915_texture_create(struct pipe_screen *screen,
|
|||
pipe_reference_init(&tex->b.b.reference, 1);
|
||||
tex->b.b.screen = screen;
|
||||
|
||||
if (force_untiled)
|
||||
if ( (force_untiled) || (template->usage == PIPE_USAGE_STREAM) )
|
||||
tex->tiling = I915_TILE_NONE;
|
||||
else
|
||||
tex->tiling = i915_texture_tiling(is, tex);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue