Re: [Piglit] [PATCH] arb_enhanced_layouts: add test for location aliasing with non-numerical type

2017-11-08 Thread Iago Toral
This is not so much based on the spec but based on the original code we had in the linker (which we still have) which assumes that all locations consumed by a struct variable use up all 4 components (thus preventing any kind of aliasing to be successful) based on the fact that the component layout

Re: [Piglit] [PATCH] arb_enhanced_layouts: add test for location aliasing with non-numerical type

2017-11-08 Thread Timothy Arceri
On 06/11/17 23:22, Iago Toral Quiroga wrote: This is not allowed so we check that we produce a linker error. It's not 100% obvious why this wouldn't be allowed. Can we have a spec quote added to the test header? --- .../vs-to-fs-type-not-numerical.shader_test| 52 +