[Mesa-dev] [PATCH] gallium: new, unified pipe_context::set_sampler_views() function

Marek Olšák maraeo at gmail.com
Wed Oct 16 03:33:53 PDT 2013


On Wed, Oct 16, 2013 at 4:23 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> On 08/10/13 01:23, Brian Paul wrote:
>> The new function replaces four old functions: set_fragment/vertex/
>> geometry/compute_sampler_views().
>>
>> Note: at this time, it's expected that the 'start' parameter will
>> always be zero.
>>
>> ---
>>
>
> Hello Brian,
>
> A couple of trivial questions
>
> Would you mind dropping the default case or adding an assert/debug_error
> in the PIPE_SHADER switch for each driver?

I'd like radeon drivers to silently return if set_sampler_views is
called with an unsupported shader.

Marek


More information about the mesa-dev mailing list