Fri, 13 Oct 2017 00:47:22 -0400Count constant arrays for the uniform_count. Fixes buffer overflow. default tip
Ryan C. Gordon <icculus@icculus.org> [Fri, 13 Oct 2017 00:47:22 -0400] rev 1181
Count constant arrays for the uniform_count. Fixes buffer overflow.

This one got found by AFL, too, but it's a legit bug that can happen with
legit shaders.

Thu, 12 Oct 2017 16:35:50 -0400A bunch of fixes for bugs that that American Fuzzy Lop exposed.
Ryan C. Gordon <icculus@icculus.org> [Thu, 12 Oct 2017 16:35:50 -0400] rev 1180
A bunch of fixes for bugs that that American Fuzzy Lop exposed.

http://lcamtuf.coredump.cx/afl/

All of these bugs would never trigger on valid shaders, but it's conceivable
that an attacker could hit a game that supports modding and craft a malicious
shader to crash the game, so these were worth fixing in any case.

Sat, 09 Jul 2016 01:44:57 -0400Sort register lists by register type first, then register number.
Ryan C. Gordon <icculus@icculus.org> [Sat, 09 Jul 2016 01:44:57 -0400] rev 1179
Sort register lists by register type first, then register number.

This groups all the registers by type first, which is useful for packing
heterogeneous uniform buffers later.

Sun, 29 May 2016 13:31:18 -0400parse_preshader merge fixes
Ethan Lee <flibitijibibo@flibitijibibo.com> [Sun, 29 May 2016 13:31:18 -0400] rev 1178
parse_preshader merge fixes

Sun, 29 May 2016 03:51:36 -0400Metal: fixed indentation for constant arrays.
Ryan C. Gordon <icculus@icculus.org> [Sun, 29 May 2016 03:51:36 -0400] rev 1177
Metal: fixed indentation for constant arrays.

Sun, 29 May 2016 03:03:15 -0400Put a simple sanity check in to prevent buffer overflows.
Ryan C. Gordon <icculus@icculus.org> [Sun, 29 May 2016 03:03:15 -0400] rev 1176
Put a simple sanity check in to prevent buffer overflows.

Sun, 29 May 2016 02:59:29 -0400Don't free ctx->mainfn if context build fails; it wasn't ever set.
Ryan C. Gordon <icculus@icculus.org> [Sun, 29 May 2016 02:59:29 -0400] rev 1175
Don't free ctx->mainfn if context build fails; it wasn't ever set.

Sun, 29 May 2016 02:43:38 -0400Metal: Better fix for overly-long constant arrays: they shouldn't be global!
Ryan C. Gordon <icculus@icculus.org> [Sun, 29 May 2016 02:43:38 -0400] rev 1174
Metal: Better fix for overly-long constant arrays: they shouldn't be global!

The Metal compiler seems to produce identical output at -O3, at least for my
quick tests. We'll see.

Sat, 28 May 2016 22:45:59 -0400GLSL: Use varyings when usage_str is NULL for vertex/pixel shaders
Ethan Lee <flibitijibibo@flibitijibibo.com> [Sat, 28 May 2016 22:45:59 -0400] rev 1173
GLSL: Use varyings when usage_str is NULL for vertex/pixel shaders
GLSLES: Various fixes from Maik Macho, thanks!
Effects: Store parameter staging buffers as vec4 values, per ID3DXEffect spec

Sun, 29 May 2016 00:31:36 -0400Make Metal profile optional in the CMake project.
Ryan C. Gordon <icculus@icculus.org> [Sun, 29 May 2016 00:31:36 -0400] rev 1172
Make Metal profile optional in the CMake project.