Re: [Mesa-dev] [PATCH 1/3] mesa: remove obsolete and broken sampler code

2015-05-29 Thread Timothy Arceri
Please ignore the first two patches turns out the name generation is used for structs (although there seems to be no piglit tests for this) like: struct S { sampler2D tex[2]; }; uniform S i[3]; Where name would become: i[2].tex On Fri, 2015-05-29 at 23:16 +1000, Timothy Arceri wrote: > The

[Mesa-dev] [PATCH 1/3] mesa: remove obsolete and broken sampler code

2015-05-29 Thread Timothy Arceri
The warning is now handled earlier in the ast to hir code, and the name was only generated for arrays of arrays in which case this just breaks the Uniform hash lookup. --- src/mesa/program/sampler.cpp | 38 +- 1 file changed, 13 insertions(+), 25 deletions(-) d