• Brian Paul's avatar
    svga: null out all sampler views if start=num=0 · 877a8026
    Brian Paul authored
    Because the CSO module handles sampler views for fragment shaders
    differently than vertex/geom shaders, VS/GS shader sampler views
    aren't explicitly unbound like for FS sampler vers.  This code
    checks for the case of start=num=0 and nulls out the sampler views.
    Fixes a assert regression in piglit's arb_texture_multisample-
    sample-position test.
    Reviewed-by: Charmaine Lee's avatarCharmaine Lee <charmainel@vmware.com>
svga_pipe_sampler.c 16.7 KB