st/vega: Set wrap_r for mask and blend samplers.
authorChia-I Wu <olv@lunarg.com>
Sun, 21 Nov 2010 10:46:57 +0000 (18:46 +0800)
committerChia-I Wu <olv@lunarg.com>
Sun, 21 Nov 2010 11:32:10 +0000 (19:32 +0800)
commite8bbaff22e75953b1c8a259753dbd8658998305e
tree2e0329118aa7f214681bdd8462dfff13add0aee7
parentdaa265e53c4c84682514ed59dda88a8bdb86d0fe
st/vega: Set wrap_r for mask and blend samplers.

These two samplers use non-normalized texture coordinates.  wrap_r
cannot be PIPE_TEX_WRAP_REPEAT (the default).

This fixes

  sp_tex_sample.c:1790:get_linear_unorm_wrap: Assertion `0' failed

assertion failure.
src/gallium/state_trackers/vega/vg_context.c