i915g: Implement GL_STREAM_* for textures by using untiled textures.
This commit is contained in:
parent
d269ce0a39
commit
52b75c6165
|
@ -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…
Reference in New Issue