Re: [Mesa-dev] [PATCH] svga: replace sampler assertion with conditional

2014-04-04 Thread Thomas Hellstrom
On 04/04/2014 01:19 AM, Brian Paul wrote: > For TEX instructions, the set of samplers and sampler views should > be consistent. The XA state tracker sometimes passes an inconsistent > set of samplers and sampler views. I might be wrong, but I don't think the XA tracker sends an inconsistent set h

[Mesa-dev] [PATCH] svga: replace sampler assertion with conditional

2014-04-03 Thread Brian Paul
For TEX instructions, the set of samplers and sampler views should be consistent. The XA state tracker sometimes passes an inconsistent set of samplers and sampler views. Rather than assert and die, issue a warning. v2: add debugging code to detect inconsistent state. --- src/gallium/drivers/sv

Re: [Mesa-dev] [PATCH] svga: replace sampler assertion with conditional

2014-04-03 Thread Brian Paul
On 04/03/2014 10:49 AM, Roland Scheidegger wrote: Am 03.04.2014 16:56, schrieb Brian Paul: For TEX instructions, the set of samplers and sampler views should be consistent. The XA state tracker sometimes passes an inconsistent set of samplers and sampler views. Rather than assert and die, issu

Re: [Mesa-dev] [PATCH] svga: replace sampler assertion with conditional

2014-04-03 Thread Roland Scheidegger
Am 03.04.2014 16:56, schrieb Brian Paul: > For TEX instructions, the set of samplers and sampler views should > be consistent. The XA state tracker sometimes passes an inconsistent > set of samplers and sampler views. Rather than assert and die, issue > a warning. > > Cc: "10.0" "10.1" > --- >

[Mesa-dev] [PATCH] svga: replace sampler assertion with conditional

2014-04-03 Thread Brian Paul
For TEX instructions, the set of samplers and sampler views should be consistent. The XA state tracker sometimes passes an inconsistent set of samplers and sampler views. Rather than assert and die, issue a warning. Cc: "10.0" "10.1" --- src/gallium/drivers/svga/svga_state_fs.c | 12