glslang/SPIRV
Sidney Just 56350cadfe
Support for CapabilityShaderViewportIndex and CapabilityShaderLayer (#2432)
* When targeting SPIR-V 1.5, using gl_ViewportIndex will emit OpCapability ShaderViewportIndex and using gl_Layer will emit OpCapability CapabilityShaderLayer. OpCapability ShaderViewportIndexLayerEXT will only get emitted if the target < SPIR-V 1.5

* When using one of the viewport/layer arrays extensions, fallback to OpCapability ShaderViewportIndexLayerEXT, even when targeting SPIR-V 1.5

* Revert "When using one of the viewport/layer arrays extensions, fallback to OpCapability ShaderViewportIndexLayerEXT, even when targeting SPIR-V 1.5"

This reverts commit dccca82f4076ea6e2bc01dd6d1e5d290c59fab20.

* Using gl_Layer and gl_ViewportIndex outside of the geometry shader stage still requires one of the viewport extensions even when targeting SPIR-V 1.5
(Fixes a problem introduced by 670536b663f396815645b2f907f0ee92117b44f0)
2020-11-02 12:27:40 -07:00
..
CInterface GLSLANG_EXPORT for C APIs. 2020-08-10 22:26:41 +02:00
bitutils.h Fix compiler warning emitted from GCC8 2018-09-12 10:34:54 +02:00
CMakeLists.txt Revert changes that migrate to thread_local. 2020-07-31 07:13:24 +01:00
disassemble.cpp SPIR-V: Remove SpvTools.h include from disassemble.cpp (#2417) 2020-10-12 10:33:01 -06:00
disassemble.h Fix -Wextra-semi warnings in headers used in Chromium 2019-02-21 11:05:21 -05:00
doc.cpp Add GL_EXT_fragment_shading_rate 2020-10-20 13:46:13 +01:00
doc.h SPIRV: Add disassembly support for multiple literal strings (#2397) 2020-09-14 09:57:09 -06:00
GLSL.ext.AMD.h Non-functional: Move to latest headers. 2018-03-02 12:36:02 -07:00
GLSL.ext.EXT.h Add changes for SPV_EXT_shader_atomic_float_add 2020-07-22 05:52:22 -07:00
GLSL.ext.KHR.h Add GL_EXT_fragment_shading_rate 2020-10-20 13:46:13 +01:00
GLSL.ext.NV.h Add support for GL_NV_shader_sm_builtins 2019-06-08 08:53:11 -04:00
GLSL.std.450.h Remove execute permissions 2018-08-07 03:16:20 +09:00
GlslangToSpv.cpp Support for CapabilityShaderViewportIndex and CapabilityShaderLayer (#2432) 2020-11-02 12:27:40 -07:00
GlslangToSpv.h Remove executable bits from code/data files (#2420) 2020-10-12 10:08:47 -06:00
hex_float.h bitwise on boolean 2020-03-30 01:32:23 +03:00
InReadableOrder.cpp SPIR-V: Aggressively prune unreachable merge, continue target 2019-10-29 15:33:54 -04:00
Logger.cpp Make file formatting comply with POSIX and Unix standards 2020-03-21 03:20:25 -04:00
Logger.h Web: Remove unused stage functionality, SPIR-V logger, and hex_utils 2019-08-20 23:21:56 -06:00
NonSemanticDebugPrintf.h GL_EXT_debug_printf implementation 2020-03-05 13:41:34 -06:00
spirv.hpp SPV: Update to the latest SPIR-V header, includes variable-rate shading 2020-10-20 14:47:10 -06:00
SpvBuilder.cpp Merge pull request #2387 from BNieuwenhuizen/nonuniform 2020-10-30 15:10:11 -06:00
SpvBuilder.h Merge pull request #2387 from BNieuwenhuizen/nonuniform 2020-10-30 15:10:11 -06:00
spvIR.h Remove executable bits from code/data files (#2420) 2020-10-12 10:08:47 -06:00
SpvPostProcess.cpp SPIR-V postprocessing: WEB case only needs CFG mods 2019-11-07 17:55:22 -05:00
SPVRemapper.cpp [spirv-remap] Fix undefined behavior in hashing (#2403) 2020-09-26 18:43:30 -06:00
SPVRemapper.h Remove extraneous semicolons 2019-06-25 13:20:16 -04:00
SpvTools.cpp Do not use PropagateLineInfoPass and RedundantLineInfoElimPass (#2440) 2020-11-02 10:49:31 -07:00
SpvTools.h Revert "Add new SpirvToolsDisassemble API interface + Improve Doc on existing API interface (#2408)" 2020-10-05 16:58:31 -06:00