On 04/10/17 00:58, Jason Ekstrand wrote:
+ struct ycbcr_state state = {
+ .builder = builder,
+ .origin_tex = tex,
+ .conversion = sampler->conversion,
What about arrays of samplers? You're not allowed to indirect on them
but they can, in theory, exist and have different samplers with
different conversions. I think we need to fish the array index out
and take sampler[idx].conversion here instead.
Thanks, need to do that indeed.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev