Corentin Wallez 
							
						 
					 
					
						
						
						
						
							
						
						
							9757da4f8e 
							
						 
					 
					
						
						
							
							GN build (for Chromium): enable HLSL in dependents.  
						
						... 
						
						
						
						The previous fix for this only enabled HLSL internally in glslang which
means that dependent using HLSL, for example shaderc, failed
compilation. 
						
						
					 
					
						2019-08-26 14:13:54 +02:00 
						 
				 
			
				
					
						
							
							
								baldurk 
							
						 
					 
					
						
						
						
						
							
						
						
							1f1e5369ce 
							
						 
					 
					
						
						
							
							Dereference any array type before expanding root-level SSBO members  
						
						... 
						
						
						
						If we don't do this then we get reflection output like so:
ArrayedBind[0].a.a: offset 0, type 1406, size 1, index 4, binding -1, stages 0
ArrayedBind[0].a.b: offset 4, type 1406, size 1, index 4, binding -1, stages 0
ArrayedBind[0].b.a: offset 4, type 1406, size 1, index 4, binding -1, stages 0
ArrayedBind[0].b.b: offset 8, type 1406, size 1, index 4, binding -1, stages 0
ArrayedBind[0].b: offset 4, type 1406, size 1, index 4, binding -1, stages 1
When the outer reflection loop that calls blowUpActiveAggregate incorrectly iterates over the struct members. 
						
						
					 
					
						2019-08-26 12:59:38 +01:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d6a5cc6580 
							
						 
					 
					
						
						
							
							Merge pull request  #1878  from dneto0/chrome-fix  
						
						... 
						
						
						
						GN build (for Chromium): enable HLSL 
						
						
					 
					
						2019-08-26 02:03:44 -06:00 
						 
				 
			
				
					
						
							
							
								georgeouzou 
							
						 
					 
					
						
						
						
						
							
						
						
							d2b24ae5d7 
							
						 
					 
					
						
						
							
							Add support for GL_ARB_explicit_uniform_location  
						
						
						
						
					 
					
						2019-08-25 00:16:10 +03:00 
						 
				 
			
				
					
						
							
							
								David Neto 
							
						 
					 
					
						
						
						
						
							
						
						
							96bec343d0 
							
						 
					 
					
						
						
							
							GN build (for Chromium): enable HLSL  
						
						
						
						
					 
					
						2019-08-23 14:35:35 -04:00 
						 
				 
			
				
					
						
							
							
								Jeff Bolz 
							
						 
					 
					
						
						
						
						
							
						
						
							387657e4cf 
							
						 
					 
					
						
						
							
							GL_NV_integer_cooperative_matrix support  
						
						
						
						
					 
					
						2019-08-22 20:37:59 -05:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							a3bc04b278 
							
						 
					 
					
						
						
							
							Bump revision.  
						
						
						
						
					 
					
						2019-08-22 11:20:40 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c190d5bc27 
							
						 
					 
					
						
						
							
							Merge pull request  #1874  from KhronosGroup/inherit-memory-qualifiers  
						
						... 
						
						
						
						GLSL: Inherit memory qualifiers, both declaratively and in execution. 
						
						
					 
					
						2019-08-22 11:20:17 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							9a5689f632 
							
						 
					 
					
						
						
							
							GLSL: Inherit memory qualifiers, both declaratively and in execution.  
						
						... 
						
						
						
						Fixes  #1870 , probably others. 
					
						2019-08-22 08:54:22 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							28f314d436 
							
						 
					 
					
						
						
							
							Merge pull request  #1875  from jonahryandavis/extra-tokens  
						
						... 
						
						
						
						Fix conformance with -Wextra-tokens 
						
						
					 
					
						2019-08-22 08:52:15 -06:00 
						 
				 
			
				
					
						
							
							
								Jonah Ryan-Davis 
							
						 
					 
					
						
						
						
						
							
						
						
							c27def379c 
							
						 
					 
					
						
						
							
							Fix conformance with -Wextra-tokens  
						
						
						
						
					 
					
						2019-08-22 10:36:12 -04:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							c817600491 
							
						 
					 
					
						
						
							
							Bump version.  
						
						
						
						
					 
					
						2019-08-21 11:12:43 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea69a29829 
							
						 
					 
					
						
						
							
							Merge pull request  #1855  from KhronosGroup/web  
						
						... 
						
						
						
						Web:  Create a very small-footprint glslang for web use. 
						
						
					 
					
						2019-08-21 11:07:01 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							369ffa9543 
							
						 
					 
					
						
						
							
							web: Fix accidental additon of refract() prototypes and update README.  
						
						
						
						
					 
					
						2019-08-21 07:54:27 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							deec1933e9 
							
						 
					 
					
						
						
							
							Web: Turn off includes, independent preprocessing path, fine tune all.  
						
						... 
						
						
						
						Saved about 21K, size down to 380K of MSVC x86 code.
Fixed one bug that needs to be looked at on the master branch:
The test for needing a Vulkan binding has a bug in it, "!layoutAttachment"
which does not mean "no layoutAttachment", because that is non-zero.
This is why some test and test results changed. 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b9197c812e 
							
						 
					 
					
						
						
							
							Web: Make switched methods all be non-virtual, more web-dependent code,  
						
						... 
						
						
						
						added a few more HLSL flag tests.  This was mostly focused on the SPV generator.
Saves about 17K. 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							d8834df992 
							
						 
					 
					
						
						
							
							Web: Optional error management and error tightening.  
						
						... 
						
						
						
						Saves about 6.5K 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							fb4f2333da 
							
						 
					 
					
						
						
							
							Web: Use isEsProfile() instead of run-time testing; remove more atomics  
						
						... 
						
						
						
						Saves 2.5K, and design is better. 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							155d351f86 
							
						 
					 
					
						
						
							
							Web: Remove unused stage functionality, SPIR-V logger, and hex_utils  
						
						... 
						
						
						
						Saves another 20K. 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							39697cdb9d 
							
						 
					 
					
						
						
							
							Web: Remove unnecessary GLSL numeric types, and some collateral.  
						
						... 
						
						
						
						This saves another 40K of x86 binary, which is about 13% of the target size. 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							3e4b6ff76a 
							
						 
					 
					
						
						
							
							Web: Tighten up sampling code and interfaces.  
						
						... 
						
						
						
						Saves about 9K. 
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							eaf4496312 
							
						 
					 
					
						
						
							
							Web: Complete the removal of vendor-specific #ifdef's, including CMake.  
						
						
						
						
					 
					
						2019-08-20 23:21:56 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							441b2ac4d1 
							
						 
					 
					
						
						
							
							Web: Prune grammar and lexor down to needed subset.  
						
						... 
						
						
						
						About 60K smaller (20% the target size is these units of 300K).
Over 300 fewer #ifdef.
This adds a new glslang.m4 file that needs to be processed by m4 to get
the glslang.y file needed by bison.  See comment in glslang.m4 for more
detail.
This updates the updateGrammar script to do the .m4 -> .y processing,
to conditionally exclude grammar not needed for the web build. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							a28f7a75d1 
							
						 
					 
					
						
						
							
							Web: Generalize _EXTENSIONS* in SPIR-V back-end.  
						
						... 
						
						
						
						About 50 fewer #ifdefs.
About 14K smaller.
Note, the base size is ill-defined due to optimizer settings (size vs. performance),
compression, and target architecture.  Some recent %'s are accidentally reported as
3X the real savings.  Early %'s were accurate.  What matters though is that each
step got worthwhile gains, and what the final size ends up being. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b6d3ee5aca 
							
						 
					 
					
						
						
							
							Web: Turn off bracket-style attributes, reflection, and IO mapping.  
						
						
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							7015bd658e 
							
						 
					 
					
						
						
							
							Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB.  
						
						... 
						
						
						
						Focus was on the front end (not SPIR-V), minus the grammar.
Reduces #ifdef count by around 320 and makes the web build 270K smaller,
which is about 90% the  target size.
The grammar and scanner will be another step, as will the SPIR-V backend.
This makes heavy use of methods #ifdef'd to return false as a global way
of turning off code, relying on C++ DCE to do the rest. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							e66dace97e 
							
						 
					 
					
						
						
							
							Web: First pass of tabling the built-in function declarations.  
						
						... 
						
						
						
						Doing this much saved about 11.5K, including adding all the infrastructure. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							23d27751e8 
							
						 
					 
					
						
						
							
							Web: Selectively remove a few key features, using #ifndef GLSLANG_WEB  
						
						... 
						
						
						
						Save about 100K.
N.B.: This is done by eliminating a function call, at a high level,
not by #ifdef'ing a bunch of code.
Also, removed no longer needed *_EXTENSION #ifdef in the code not
needed by GLSLANG_WEB. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							bfc21ff1a9 
							
						 
					 
					
						
						
							
							Web: Change a bunch of HLSL methods from dynamic to compile-time known.  
						
						... 
						
						
						
						This saves about 7K.
By changing just a few methods to be compile-time known, a bunch of
scattered code becomes DCE. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							d4ed5158d1 
							
						 
					 
					
						
						
							
							Web: Remove a few additional HLSL constructs with ENABLE_HLSL.  
						
						... 
						
						
						
						Saves about 3K. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							13761069b5 
							
						 
					 
					
						
						
							
							Web: Add sanity check test suite for smaller-footprint builds.  
						
						... 
						
						
						
						For the smallest builds, google tests will not be present, in
addition to a large number of tests not being capable of running. 
						
						
					 
					
						2019-08-20 23:21:55 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34cccdc65d 
							
						 
					 
					
						
						
							
							Merge pull request  #1872  from kainino0x/js-interface  
						
						... 
						
						
						
						make glslang.js easy to use and work on node, and related changes 
						
						
					 
					
						2019-08-20 23:06:10 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							3aac2d44b2 
							
						 
					 
					
						
						
							
							Bump revision.  
						
						
						
						
					 
					
						2019-08-20 22:42:40 -06:00 
						 
				 
			
				
					
						
							
							
								Kai Ninomiya 
							
						 
					 
					
						
						
						
						
							
						
						
							a761284f70 
							
						 
					 
					
						
						
							
							convert_glsl_to_spirv: fail early, reduce copies, remove input buffer allocation  
						
						
						
						
					 
					
						2019-08-20 13:29:14 -07:00 
						 
				 
			
				
					
						
							
							
								Kai Ninomiya 
							
						 
					 
					
						
						
						
						
							
						
						
							b16a4bc45e 
							
						 
					 
					
						
						
							
							make glslang.js easy to use  
						
						
						
						
					 
					
						2019-08-20 13:13:42 -07:00 
						 
				 
			
				
					
						
							
							
								Kai Ninomiya 
							
						 
					 
					
						
						
						
						
							
						
						
							a91561d583 
							
						 
					 
					
						
						
							
							enable build for node  
						
						
						
						
					 
					
						2019-08-20 13:10:53 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							95609e6d92 
							
						 
					 
					
						
						
							
							Set theme jekyll-theme-merlot  
						
						
						
						
					 
					
						2019-08-14 21:35:57 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37fc4d27d6 
							
						 
					 
					
						
						
							
							Merge pull request  #1867  from zoddicus/addWebBuild  
						
						... 
						
						
						
						Add WASM build target for Web version of glslang 
						
						
					 
					
						2019-08-10 05:24:48 -06:00 
						 
				 
			
				
					
						
							
							
								Ryan Harrison 
							
						 
					 
					
						
						
						
						
							
						
						
							7eb3e6e07a 
							
						 
					 
					
						
						
							
							Make non-emscripten flags platform agnostic.  
						
						
						
						
					 
					
						2019-08-09 11:19:07 -04:00 
						 
				 
			
				
					
						
							
							
								Ryan Harrison 
							
						 
					 
					
						
						
						
						
							
						
						
							c1063cd5e2 
							
						 
					 
					
						
						
							
							Converted ENABLE_HLSL to a dependent option, so it can be always disabled in web builds  
						
						
						
						
					 
					
						2019-08-09 10:56:51 -04:00 
						 
				 
			
				
					
						
							
							
								Ryan Harrison 
							
						 
					 
					
						
						
						
						
							
						
						
							734176a25c 
							
						 
					 
					
						
						
							
							Move build instructions to README.md  
						
						
						
						
					 
					
						2019-08-09 10:32:47 -04:00 
						 
				 
			
				
					
						
							
							
								Ryan Harrison 
							
						 
					 
					
						
						
						
						
							
						
						
							c96e42dca8 
							
						 
					 
					
						
						
							
							Add WASM build target for Web version of glslang  
						
						... 
						
						
						
						This adds build rules to support generating a WASM binary to be used
on the web. The API exposed to web applications is definated in the
new glslang.js.cpp file. 
						
						
					 
					
						2019-08-08 15:08:10 -04:00 
						 
				 
			
				
					
						
							
							
								James Rumble 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c6f7294ced 
							
						 
					 
					
						
						
							
							Handle install vs build include directories  
						
						... 
						
						
						
						Fix target_include_directories to appropriately handle build-tree and the install-tree. 
						
						
					 
					
						2019-08-06 15:29:31 +01:00 
						 
				 
			
				
					
						
							
							
								James Rumble 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab6d1499e1 
							
						 
					 
					
						
						
							
							Export glslang targets on installation  
						
						... 
						
						
						
						This allows the targets to be used in other cmake projects. See the following for more details:
https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#creating-packages 
https://foonathan.net/blog/2016/07/07/cmake-dependency-handling.html  
						
						
					 
					
						2019-08-06 14:47:51 +01:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							3cea2e5882 
							
						 
					 
					
						
						
							
							Bump revision and give the bots another chance to work.  
						
						
						
						
					 
					
						2019-08-02 06:34:15 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a0eb5efd2b 
							
						 
					 
					
						
						
							
							Merge pull request  #1860  from zoddicus/fixShaderCRoll  
						
						... 
						
						
						
						Add in header for uint32_t definition 
						
						
					 
					
						2019-08-02 01:37:37 -06:00 
						 
				 
			
				
					
						
							
							
								Ryan Harrison 
							
						 
					 
					
						
						
						
						
							
						
						
							1f6fedd3b5 
							
						 
					 
					
						
						
							
							Add in header for uint32_t definition  
						
						... 
						
						
						
						This is needed for stricter/newer MSVC builds of downstream users. 
						
						
					 
					
						2019-08-01 15:07:18 -04:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eea340047e 
							
						 
					 
					
						
						
							
							Merge pull request  #1859  from zoddicus/fixNoRTTIForWindows  
						
						... 
						
						
						
						Convert no RTTI rule to be compiler specific 
						
						
					 
					
						2019-07-30 20:29:09 -06:00 
						 
				 
			
				
					
						
							
							
								Ryan Harrison 
							
						 
					 
					
						
						
						
						
							
						
						
							8126eb1962 
							
						 
					 
					
						
						
							
							Convert no RTTI rule to be compiler specific  
						
						... 
						
						
						
						MSVC uses a different flag for disabling RTTI, so is currently
including RTTI information and throwing warnings. 
						
						
					 
					
						2019-07-30 11:25:19 -04:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f04f1f93a7 
							
						 
					 
					
						
						
							
							Merge pull request  #1857  from Roy-AMD/automapping-opengl-location  
						
						... 
						
						
						
						Automapping opengl location 
						
						
					 
					
						2019-07-29 09:40:14 -06:00