{"push_id":2707501072,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"45106a1c931d86060df72bcd296b4a1d33fda9bb","before":"18c086a9e641c1808be0416468c1d11913a3675c","commits":[{"sha":"45106a1c931d86060df72bcd296b4a1d33fda9bb","author":{"name":"Neil Roberts","email":"c545439531886e35833139e4d8705751e5505058@igalia.com"},"message":"spirv: Fix InterpolateAt* instructions for vecs with dynamic index\n\nIf the glsl is something like this:\n\n  in vec4 some_input;\n  interpolateAtCentroid(some_input[idx])\n\nthen it now gets generated as if it were:\n\n  interpolateAtCentroid(some_input)[idx]\n\nThis is necessary because the index will get generated as a series of\nnir_bcsel instructions so it would no longer be an input variable. It\nis similar to what is done for GLSL in ca63a5ed3e9efb2bd645b42.\n\nAlthough I can’t find anything explicit in the Vulkan specs to say\nthis should be allowed, the SPIR-V spec just says “the operand\ninterpolant must be a pointer to the Input Storage Class”, which I\nguess doesn’t rule out any type of pointer to an input.\n\nThis was found using the spec/glsl-4.40/execution/fs-interpolateAt*\nPiglit tests with the ARB_gl_spirv branch.\n\nSigned-off-by: Neil Roberts <nroberts@igalia.com>\nSigned-off-by: Alejandro Piñeiro <apinheiro@igalia.com>\n\nv2: update after nir_deref_instr land on master. Implemented by\n    Alejandro Piñeiro. Special thanks to Jason Ekstrand for guidance\n    at the new nir_deref_instr world.\n\nReviewed-by: Jason Ekstrand <jason@jlekstrand.net>","distinct":true,"url":"https://api.github.com/repos/mesa3d/mesa/commits/45106a1c931d86060df72bcd296b4a1d33fda9bb"}]}
{"actor":{"display_login":"wayland-project-fdo"}}