Ryan C. Gordon <icculus@icculus.org> [Sun, 19 Jul 2020 23:44:13 -0400] rev 1281
Correct the reported usage on SM1 vertex shader input registers.
They are hardcoded to mean specific things (v0 is POSITION0, v1 is
BLENDWEIGHT, etc).
Caleb Cornett <caleb.cornett@outlook.com> [Tue, 07 Jul 2020 21:00:14 -0400] rev 1280
VS2010 buildfix
Caleb Cornett <caleb.cornett@outlook.com> [Tue, 07 Jul 2020 19:25:47 -0400] rev 1279
Metal uniform buffer overhaul.
1. Metal now uses a single, ~1MB uniform buffer per frame that is shared among
all shaders. From my testing this should be more than enough room for the FNA
catalog (aside from possibly Little Racers Street with its memory leak). This
is a major boon for Metal memory management since it only requires one buffer
instead of 3,000 (in LRS's case)! And it simplifies the internal workings of
mojoshader_metal dramatically.
2. Metal now has a MOJOSHADER_mtlMakeContextCurrent API to match GL and Vulkan.
Other parts of the context API have been rewritten as well to match the
behavior you'd expect.
3. The MOJOSHADER_mtlGetUniformBuffers function has been replaced with
MOJOSHADER_mtlGetUniformData. Now that we only use a single uniform buffer,
there's no need to return one for each of the shaders.
4. The MOJOSHADER_mtlGetFunctionHandle function no longer allocates memory.
Instead, all MTLFunction handles are cached in the MOJOSHADER_mtlShader
structs at library creation time. This removes the burden of memory
management from the user.
5. A variety of formatting and documentation updates.
Ethan Lee <flibitijibibo@flibitijibibo.com> [Tue, 07 Jul 2020 17:44:32 -0400] rev 1278
spirv: Fix bogus detection of PSIZE0
Ethan Lee <flibitijibibo@flibitijibibo.com> [Tue, 07 Jul 2020 17:19:45 -0400] rev 1277
Add dynamic linking support for SPIR-V modules
Evan Hemsley <evan@moonside.games> [Mon, 06 Jul 2020 16:23:06 -0400] rev 1276
vulkan: Rework UBO allocation to use a single monolithic buffer
Ethan Lee <flibitijibibo@flibitijibibo.com> [Mon, 06 Jul 2020 12:51:28 -0400] rev 1275
vulkan: Fix uniform buffer copies for bools
Martin Krošlák <kroslakma@gmail.com> [Fri, 03 Jul 2020 10:43:01 -0400] rev 1274
spirv: Fix support for FOG1
Martin Krošlák <kroslakma@gmail.com> [Thu, 02 Jul 2020 18:08:57 -0400] rev 1273
spirv: Fix texcoord use before load
Ethan Lee <flibitijibibo@flibitijibibo.com> [Thu, 02 Jul 2020 18:08:02 -0400] rev 1272
Fix include path for vulkan.h