On Friday, October 27, 2017 12:28:16 PM PDT Neil Roberts wrote: > Hi, > > Here is a v2 of Eduardo’s patches to fix the PerVertexValidation CTS > test. They were originally posted here: > > https://lists.freedesktop.org/archives/mesa-dev/2017-March/146667.html
Actually, they're even older than that :) https://lists.freedesktop.org/archives/mesa-dev/2017-January/142386.html It looks like Timothy was concerned about enforcing restrictions on unused varyings that get eliminated, and suggested that we file a spec bug. So, Eduardo did: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/137 The response was that the test is correct as is, and we should indeed make this change. So, thanks for picking this up! > The patches needed a non-trivial rebase. The previous discussion was > left with a note saying that there are more cases that should fail but > that weren’t handled by the patches and aren’t checked by the CTS > test. Ie, if the consuming shader doesn’t reference any of the members > of gl_PerVertex then it wouldn’t find the block redefinition. This v2 > addresses that by directly fetching the glsl_type for the gl_PerVertex > block from the symbol table rather waiting for an instruction which > references it. > > I’ve tested it with Piglit and the public CTS repo and it doesn’t > cause any regressions, and of course it fixes the CTS test. > > It might be nice to add a Piglit or CTS test to check this missing > case. > > - Neil Series is: Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev