Re: [Mesa-dev] [PATCH 11/11] svga: use shader sampler view declarations

2016-03-21 Thread Charmaine Lee
Series looks good to me. Reviewed-by: Charmaine Lee From: Brian Paul Sent: Friday, March 18, 2016 4:49 PM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee Subject: [PATCH 11/11] svga: use shader sampler view declarations Previously, we looked at the

[Mesa-dev] [PATCH 11/11] svga: use shader sampler view declarations

2016-03-18 Thread Brian Paul
Previously, we looked at the bound textures (via the pipe_sampler_views) to determine texture dimensions (1D/2D/3D/etc) and datatype (float vs. int). But this could fail in out of memory conditions. If we failed to allocate a texture and didn't create a pipe_sampler_view, we'd default to using 0