Updated copyright...like five years late. :)
Updated copyright...like five years late. :)
View ArticleDeal with quirks of MSVC's vsnprintf() implementation.
Deal with quirks of MSVC's vsnprintf() implementation.
View Articleglsl: texture*Proj() needs vec3 params for cubes and 3d textures.
glsl: texture*Proj() needs vec3 params for cubes and 3d textures.
View ArticleAdded support for producing shader language source code for Apple's Metal API.
Added support for producing shader language source code for Apple's Metal API.
View ArticleMetal: make constant arrays have unique names.
Metal: make constant arrays have unique names. This lets us compile a bunch of shaders as one big file without conflicts!
View ArticleMetal: Removed FIXME that already got fixed.
Metal: Removed FIXME that already got fixed.
View Articlemetal: Group all uniform arrays into one struct with explicit array sizes.
metal: Group all uniform arrays into one struct with explicit array sizes. This lets the Metal compiler know more about the data (such as array overflow risks and maybe optimization strategies), but...
View ArticleGive shaders in Effects files a unique main function name.
Give shaders in Effects files a unique main function name. This lets you generate Metal shaders that won't conflict in the same library.
View ArticleDeal with Metal shaders with really long main function names.
Deal with Metal shaders with really long main function names. This is so lazy of me. :/
View ArticleExplicitly initial a bunch of bits of MOJOSHADER_out_of_mem_data.
Explicitly initial a bunch of bits of MOJOSHADER_out_of_mem_data.
View ArticleReport the main function name in testparse.
Report the main function name in testparse.
View ArticleMake Metal profile optional in the CMake project.
Make Metal profile optional in the CMake project.
View ArticleGLSL: Use varyings when usage_str is NULL for vertex/pixel shaders
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
View ArticleMetal: Better fix for overly-long constant arrays: they shouldn't be global!
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.
View ArticleDon't free ctx->mainfn if context build fails; it wasn't ever set.
Don't free ctx->mainfn if context build fails; it wasn't ever set.
View ArticlePut a simple sanity check in to prevent buffer overflows.
Put a simple sanity check in to prevent buffer overflows.
View ArticleMetal: fixed indentation for constant arrays.
Metal: fixed indentation for constant arrays.
View Article