[Mesa-dev] [PATCH 1/3] cso: handle sampler view changes the same way for all shader types
Brian Paul
brianp at vmware.com
Thu Dec 10 13:11:57 PST 2015
On 12/10/2015 02:10 PM, Ilia Mirkin wrote:
> On Thu, Dec 10, 2015 at 4:08 PM, Brian Paul <brianp at vmware.com> wrote:
>> diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c
>> index 6b29b20..5db3d20 100644
>> --- a/src/gallium/auxiliary/cso_cache/cso_context.c
>> +++ b/src/gallium/auxiliary/cso_cache/cso_context.c
>> @@ -61,6 +61,16 @@ struct sampler_info
>> };
>>
>>
>> +/**
>> + * Per-shader sampler view information.
>> + */
>> +struct sampler_view_info
>> +{
>> + struct pipe_sampler_view *views[PIPE_MAX_SAMPLERS];
>
> Should this be PIPE_MAX_SHADER_SAMPLER_VIEWS ?
Yes, thanks. v2 coming.
-Brian
More information about the mesa-dev
mailing list