glslang-zig/SPIRV
Arseny Kapoulkine 112e2858cf SPIRV: Simplify matrix->matrix constructor
When constructing a matrix from another matrix with smaller dimensions,
there's no need to extract the scalars out of columns and rebuild the
resulting matrix from scalars - instead, we can just construct shorter
vectors with OpShuffle and combine them to the final result.

This keeps the common casts such as mat3(mat4) in vector registers,
which may improve performance for some GPUs, and cleans up output of
translation tools like SPIRV-Cross.

Fixes #1412.
2018-07-05 15:55:12 -07:00
..
bitutils.h Parser: Implement extension GL_AMD_gpu_shader_half_float. 2016-09-30 16:13:06 +08:00
CMakeLists.txt SPV: Add option to print disassembly in standard form using SPIRV-Tools. 2018-07-02 15:54:12 -06:00
disassemble.cpp SPV: Add option to print disassembly in standard form using SPIRV-Tools. 2018-07-02 15:54:12 -06:00
disassemble.h SPV: Add option to print disassembly in standard form using SPIRV-Tools. 2018-07-02 15:54:12 -06:00
doc.cpp Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage extensions. 2018-07-03 13:51:31 -06:00
doc.h Non-Functional: Remove unused parts of the disassembler. 2018-03-30 00:11:39 -06:00
GLSL.ext.AMD.h Non-functional: Move to latest headers. 2018-03-02 12:36:02 -07:00
GLSL.ext.EXT.h Fix issues of SPIRV headers 2018-03-02 17:42:37 +08:00
GLSL.ext.KHR.h Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage extensions. 2018-07-03 13:51:31 -06:00
GLSL.ext.NV.h Implement GL_NV_shader_subgroup_partitioned 2018-03-29 22:52:17 -05:00
GLSL.std.450.h SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl). 2016-02-15 21:46:55 -07:00
GlslangToSpv.cpp Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage extensions. 2018-07-03 13:51:31 -06:00
GlslangToSpv.h Fixed GCC+Clang errors and warnings on Linux and OSX. 2018-03-03 13:04:12 -08:00
hex_float.h Build: Attempt better support for VS 2012. 2017-08-25 21:35:37 -06:00
InReadableOrder.cpp Use unordered_set in ReadableOrderTraverser. 2017-05-11 20:48:34 -04:00
Logger.cpp [VS2010] Remove use of ranged-for loops 2016-05-17 01:20:30 +02:00
Logger.h [VS2010] Remove use of "= default" and "= delete" 2016-05-17 01:20:25 +02:00
spirv.hpp Implement GL_EXT_shader_16bit_storage and GL_EXT_shader_8bit_storage extensions. 2018-07-03 13:51:31 -06:00
SpvBuilder.cpp SPIRV: Simplify matrix->matrix constructor 2018-07-05 15:55:12 -07:00
SpvBuilder.h GLSL/SPV: Implement SPV_EXT_descriptor_indexing and GL_EXT_nonuniform_qualifier 2018-04-05 11:25:02 -06:00
spvIR.h Fix #944: Convert argument type to match formal parameter type. 2018-05-04 11:43:03 -06:00
SPVRemapper.cpp Add support for OpConstantNull and OpConstantSampler to spirv-remap 2018-06-19 13:51:28 -06:00
SPVRemapper.h Remapper: make remapper robust against non-exiting error handlers 2017-09-20 15:19:43 -06:00