John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							cd0a78a0d9 
							
						 
					 
					
						
						
							
							HLSL: Flatten vertex input and fragment output structures.  
						
						... 
						
						
						
						Vulkan can't handle structures into the vertex stage or out
of the fragment stage. 
						
						
					 
					
						2016-09-10 11:09:24 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							6295c27900 
							
						 
					 
					
						
						
							
							Merge pull request  #505  from steve-lunarg/rowmajor-fix-2a  
						
						... 
						
						
						
						HLSL: alias HLSL matrix-row-column onto AST matrix-column-row 
						
						
					 
					
						2016-09-09 14:00:27 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							297ae211f1 
							
						 
					 
					
						
						
							
							WIP: HLSL: Treat HLSL rows as GLSL columns.  
						
						... 
						
						
						
						WIP: HLSL: EOpGenMul arg reversal 
						
						
					 
					
						2016-09-09 12:02:42 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							d4032293ce 
							
						 
					 
					
						
						
							
							HLSL: Report an error if SPIR-V for Vulkan wasn't selected.  
						
						
						
						
					 
					
						2016-09-09 11:43:11 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							cfd7ce87cd 
							
						 
					 
					
						
						
							
							HLSL: Support register(..., spaceN) for setting the descriptor set.  
						
						... 
						
						
						
						This was suggested in issue #454 . 
						
						
					 
					
						2016-09-05 16:03:45 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							e3218e270e 
							
						 
					 
					
						
						
							
							HLSL: Accept layout(...) also as a post-decl.  Issue  #454 .  
						
						
						
						
					 
					
						2016-09-05 14:37:03 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							7735b94403 
							
						 
					 
					
						
						
							
							HLSL Non-Functional: Move to more robust capturing of postDecls into a qualifier.  
						
						... 
						
						
						
						This will prevent a possible future defect of thinking the type can be changed,
where there is a code path today that would drop that change. 
						
						
					 
					
						2016-09-05 12:40:06 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b804de605c 
							
						 
					 
					
						
						
							
							HLSL: Track binding numbers to struct instances; fixes issue  #496 .  
						
						
						
						
					 
					
						2016-09-05 12:19:18 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							7d01bd6f0b 
							
						 
					 
					
						
						
							
							HLSL: Handle swizzles on vectors of size 1. Addresses issue  #453 .  
						
						
						
						
					 
					
						2016-09-02 22:21:25 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							841db35bb3 
							
						 
					 
					
						
						
							
							HLSL: Fix issue  #442 , smear and truncate shape conversions for == and !=.  
						
						
						
						
					 
					
						2016-09-02 21:12:23 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							07350f3382 
							
						 
					 
					
						
						
							
							HLSL: Handle "fake" entry points, by undoing their built-in variable declarations.  
						
						
						
						
					 
					
						2016-09-02 20:24:07 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							9e079535a0 
							
						 
					 
					
						
						
							
							HLSL: Handle greater/less depth modes. Fixes issue  #489 .  
						
						
						
						
					 
					
						2016-09-02 20:05:52 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							a305166ea4 
							
						 
					 
					
						
						
							
							HLSL: Error if funcion with return type doesn't return a value.  
						
						
						
						
					 
					
						2016-09-02 19:13:36 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							1a4b775cd5 
							
						 
					 
					
						
						
							
							HLSL: Correct line numbers for function definitions.  
						
						
						
						
					 
					
						2016-09-02 19:05:24 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							5e56423046 
							
						 
					 
					
						
						
							
							Front-ends: Remove now defunct afterEOF and related, use scanner's instead.  
						
						... 
						
						
						
						Code using atEndOfFile was dead, instead do something useful with
the scanners atEndOfInput().  This allows a better error message
for early termination of cascading errors. 
						
						
					 
					
						2016-08-31 13:46:50 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							830b0cc98b 
							
						 
					 
					
						
						
							
							HLSL: Start location numbering with the entry-point return value.  
						
						... 
						
						
						
						Also, increment location numbers by the size of the objects. 
						
						
					 
					
						2016-08-29 18:10:47 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							a05d8b5604 
							
						 
					 
					
						
						
							
							HLSL: Remove recent change to put locations on SV_TARGET*.  
						
						... 
						
						
						
						This put locations on members of structures, which is not allowed
in either AST or SPIR-V.
This was caught by asserts in the debug build. 
						
						
					 
					
						2016-08-29 16:49:39 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							81d4714908 
							
						 
					 
					
						
						
							
							Merge branch 'HLSL_Semantic_Mapping' of  https://github.com/dankbaker/glslang  into dankbaker-HLSL_Semantic_Mapping  
						
						
						
						
					 
					
						2016-08-29 16:07:29 -06:00 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							6f220c0fd1 
							
						 
					 
					
						
						
							
							HLSL: Setting SV_DEPTHGREATEREQUAL and SV_DEPTHLESSEQUAL to EbvFragDepth for now  
						
						
						
						
					 
					
						2016-08-29 15:56:55 -04:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							6a70eb7161 
							
						 
					 
					
						
						
							
							HLSL: Emulate write-to-output on return-from-entry-point, for return value.  
						
						... 
						
						
						
						This fixes issue #487  and #480 .
It also correctly handles output parameters from the entry point. 
						
						
					 
					
						2016-08-28 20:13:07 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							81cd764b5f 
							
						 
					 
					
						
						
							
							Non-functional: Add some missing const, related to signature selection.  
						
						
						
						
					 
					
						2016-08-26 14:01:43 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							e3f2c8f98a 
							
						 
					 
					
						
						
							
							HLSL: Include shape-changing conversions in overloaded signature selection.  
						
						... 
						
						
						
						This also enables vecN -> vec1 shape conversions for all places doing shape
conversions.
For signature selection, makes shape changes worse than any other comparison
when deciding what conversions are better than others. 
						
						
					 
					
						2016-08-25 23:57:39 -06:00 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							26aa8a4b16 
							
						 
					 
					
						
						
							
							HLSL: Format updates and some minor adjustments to SV_ handling  
						
						
						
						
					 
					
						2016-08-25 17:13:25 -04:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							90dd70f752 
							
						 
					 
					
						
						
							
							HLSL: Allow arbitrary baseType -> baseType conversion of calling arguments.  
						
						... 
						
						
						
						This also puts a stake in the ground as to which is better when selection
from multiple signatures. 
						
						
					 
					
						2016-08-25 10:51:29 -06:00 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							deec03cfca 
							
						 
					 
					
						
						
							
							First stab at system value interpretation  
						
						
						
						
					 
					
						2016-08-25 12:00:25 -04:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							36e87d0871 
							
						 
					 
					
						
						
							
							HLSL: add precise keyword  
						
						
						
						
					 
					
						2016-08-25 08:48:54 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							fcc0aa3b64 
							
						 
					 
					
						
						
							
							HLSL: Switch to generic selector, but using GLSL #version 400 rules.  
						
						... 
						
						
						
						Next step is to modify for HLSL rules. 
						
						
					 
					
						2016-08-24 18:34:43 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							ab89bbe702 
							
						 
					 
					
						
						
							
							Merge branch 'overloaded-400' of github.com:KhronosGroup/glslang  
						
						
						
						
					 
					
						2016-08-23 18:30:20 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							219b025d7e 
							
						 
					 
					
						
						
							
							Non-functional: Fix commit 98f164ec488f85af5a44b701477a34e810f2deb1.  
						
						... 
						
						
						
						Fix previous commit to not use tabs and otherwise match local coding
conventions better. 
						
						
					 
					
						2016-08-23 17:51:13 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							98f164ec48 
							
						 
					 
					
						
						
							
							Merge pull request  #461  from dankbaker/Error_Message_Fixes_for_HLSL  
						
						... 
						
						
						
						HLSL: Better error message for when HLSL translation fails 
						
						
					 
					
						2016-08-23 17:48:14 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							efe9724795 
							
						 
					 
					
						
						
							
							HLSL: Add EHTokStringConstant, so that string attributes may be parsed  
						
						
						
						
					 
					
						2016-08-22 17:13:17 -06:00 
						 
				 
			
				
					
						
							
							
								dankbaker 
							
						 
					 
					
						
						
						
						
							
						
						
							afe6e9c4fc 
							
						 
					 
					
						
						
							
							HLSL and standalone, modifying Standalone to send filename as string source, and HLSL backend will use this to print a better error mesage when things fail  
						
						
						
						
					 
					
						2016-08-21 12:29:08 -04:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							0a04b4df02 
							
						 
					 
					
						
						
							
							Front-end/Non-functional: Add some const/auto, useful for upcoming changes.  
						
						
						
						
					 
					
						2016-08-19 07:27:28 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b9e39120b4 
							
						 
					 
					
						
						
							
							HLSL: Partially address issue  #463 : accept GLSL layout(...).  
						
						... 
						
						
						
						This includes all "per variable" layout qualifiers, but the
key ones mattering and tested for now are:
  set=
  binding=
  constant_id=
  push_constant 
						
						
					 
					
						2016-08-17 17:38:45 -06:00 
						 
				 
			
				
					
						
							
							
								baldurk 
							
						 
					 
					
						
						
						
						
							
						
						
							1eb1c11dea 
							
						 
					 
					
						
						
							
							fix x64 warning about conversion size_t -> int  
						
						
						
						
					 
					
						2016-08-15 18:01:15 +02:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							2c6038ecf1 
							
						 
					 
					
						
						
							
							Merge branch 'cpp-headers'  
						
						
						
						
					 
					
						2016-08-11 10:01:13 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							61da5e41f7 
							
						 
					 
					
						
						
							
							HLSL: Put intrinsics in symbol table for all stages  
						
						
						
						
					 
					
						2016-08-11 07:29:30 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							c4a1307403 
							
						 
					 
					
						
						
							
							HLSL: add implicit promotions for assignments and function returns.  
						
						
						
						
					 
					
						2016-08-09 13:48:47 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							267590d452 
							
						 
					 
					
						
						
							
							Whitespace: Nonfunctional: fix inconsistent white space, esp. no tabs.  
						
						
						
						
					 
					
						2016-08-05 17:34:34 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							66ec80e01b 
							
						 
					 
					
						
						
							
							Build: C++ headers: Replace PR  #366  with a more directed version.  
						
						
						
						
					 
					
						2016-08-05 14:04:23 -06:00 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							349ac3df86 
							
						 
					 
					
						
						
							
							Merge branch 'master' of  https://github.com/dankbaker/glslang  
						
						
						
						
					 
					
						2016-08-05 14:56:40 -04:00 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							c7e501613a 
							
						 
					 
					
						
						
							
							Commenting out attempt to parse DX9 samplers, since this is imcompatible with DX10+ shaders  
						
						
						
						
					 
					
						2016-08-05 14:52:38 -04:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							7dfcf4d1ad 
							
						 
					 
					
						
						
							
							HLSL: Add GatherRed/Green/Blue/Alpha methods, inc 4-offset forms  
						
						
						
						
					 
					
						2016-08-03 13:34:39 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							cb88de5e5e 
							
						 
					 
					
						
						
							
							HLSL: allow semicolons between global scope declarations.  
						
						
						
						
					 
					
						2016-08-03 07:08:06 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							f6640761c4 
							
						 
					 
					
						
						
							
							Front-end: Implement 2nd task of issue  #400 ; precision of result and operation.  
						
						... 
						
						
						
						From the ES spec + Bugzilla 15931 and GL_KHR_vulkan_glsl:
- Update precision qualifiers for all built-in function prototypes.
- Implement the new algorithm used to distinguish built-in function
  operation precisions from result precisions.
Also add tracking of separate result and operation precisions, and
use that in generating SPIR-V.
(SPIR-V cares about precision of operation, while the front-end
cares about precision of result, for propagation.) 
						
						
					 
					
						2016-08-02 21:48:02 -06:00 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							b49806b0bf 
							
						 
					 
					
						
						
							
							Fixing some casts that warn when compiled to 64 bit (size_t is 64 bit rather then 32 bit)  
						
						
						
						
					 
					
						2016-08-02 14:42:43 -04:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							fe5a3ff2f3 
							
						 
					 
					
						
						
							
							HLSL: allow trailing commas in initializer lists & scalar initialization  
						
						
						
						
					 
					
						2016-07-30 10:47:33 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b38f071605 
							
						 
					 
					
						
						
							
							HLSL: Add back in the [subcomponent] part of a 'register' decl.  
						
						
						
						
					 
					
						2016-07-30 10:30:51 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							5964c64b2a 
							
						 
					 
					
						
						
							
							HLSL: Fix a grammar error related to constructors in parenthetical expressions  
						
						
						
						
					 
					
						2016-07-30 08:09:09 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							ff13213547 
							
						 
					 
					
						
						
							
							Front-ends GLSL/HLSL: Fix initializer lists for structs of one member.  
						
						... 
						
						
						
						Single member structs initialized with an initializer list had
an incorrect argument for constructor emulation. 
						
						
					 
					
						2016-07-29 18:29:06 -06:00