llvmpipe: remove polygon stipple assertion

It's possible for us to have an unused sampler bound when the fragment
shader itself doesn't use any samplers.  So the assertion isn't valid.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=53616
This commit is contained in:
Brian Paul 2012-08-17 08:58:15 -06:00
parent 553a08d314
commit f69273f952
1 changed files with 0 additions and 2 deletions

View File

@ -305,8 +305,6 @@ update_polygon_stipple_enable(struct softpipe_context *softpipe, unsigned prim)
softpipe->fs_variant->key.polygon_stipple) {
const unsigned unit = softpipe->fs_variant->stipple_sampler_unit;
assert(unit >= softpipe->num_samplers[PIPE_SHADER_FRAGMENT]);
/* sampler state */
softpipe->samplers[PIPE_SHADER_FRAGMENT][unit] = softpipe->pstipple.sampler;