draw: updates to support SVIEW decls
authorRob Clark <robclark@freedesktop.org>
Wed, 10 Jun 2015 23:59:20 +0000 (19:59 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 21 Jun 2015 11:52:07 +0000 (07:52 -0400)
commitb516e68afb548894eff6b1f375c01f6dfafb6aed
tree8a847b6c205a76f2fd5620d801bfb48281211165
parentf481af110e6ab42b2d184f225bfe7eb1e66df393
draw: updates to support SVIEW decls

To allow for shaders which use SVIEW decls for TEX* instructions, we
need to preserve the constraint that the shader either has no SVIEW's or
it has one matching SVIEW for each SAMP.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c