https://bugs.freedesktop.org/show_bug.cgi?id=64600
--- Comment #18 from Peter Wu lekensteyn@gmail.com --- Created attachment 87706 --> https://bugs.freedesktop.org/attachment.cgi?id=87706&action=edit piglit test (messy, with comments) that fails on R600
I'll await the feedback in your thread before submitting it to piglit.
So the struct bug is fixed, yet I encountered another issue that seems to be related to alignment. Please find attached piglit test, it fails on R600 but passes with POCL and a C wrapper.
The Pyrit kernel has been stripped, only the sha1_process function remains (with one macro expanded and every macro thereafter undef'd). See the comments in the test.