John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							6b71c400f8 
							
						 
					 
					
						
						
							
							HLSL: Remove extraneous built-in member decorations for IO structs used in non-IO situations.  
						
						
						
						
					 
					
						2016-09-19 22:16:09 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							86f7138706 
							
						 
					 
					
						
						
							
							HLSL: Add string basic type and recognize string declaration grammar.  
						
						... 
						
						
						
						This includes the "< decl ; decl ; >" syntax which has its own namespace.
This functionality is not implemented, just silently accepted. 
						
						
					 
					
						2016-09-19 20:29:45 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							6fccb3cd75 
							
						 
					 
					
						
						
							
							Non-functional: Sweep through the stack for consistent with "main" and entry point.  
						
						... 
						
						
						
						Partially addresses issue #513 . 
						
						
					 
					
						2016-09-19 16:01:41 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							28b28140bb 
							
						 
					 
					
						
						
							
							HLSL: Fix assert: ensure flattened shadow is EvqTemporary.  
						
						
						
						
					 
					
						2016-09-19 00:19:49 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							5159d4f1af 
							
						 
					 
					
						
						
							
							HLSL: Intercept flatten aggregates passed to a function input, and copy member-by-member.  
						
						
						
						
					 
					
						2016-09-19 00:06:19 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							d2ce838a58 
							
						 
					 
					
						
						
							
							HLSL: Handle flatten for reads from flatten structs and parameter passing.  
						
						
						
						
					 
					
						2016-09-16 20:24:14 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							34e7ee79bb 
							
						 
					 
					
						
						
							
							HLSL: Improve setting and testing of interpolation qualifiers.  
						
						... 
						
						
						
						Notably, use of 'linear' on a non-input could mark it as an input. 
						
						
					 
					
						2016-09-16 18:05:44 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							d21baed6bc 
							
						 
					 
					
						
						
							
							HLSL: Flatten whole-struct assigns and returns when targeting flattened I/O structs.  
						
						
						
						
					 
					
						2016-09-16 03:20:03 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							f8e494c18c 
							
						 
					 
					
						
						
							
							HLSL: Flatten all input/output structs, regardless of stage.  
						
						... 
						
						
						
						This is needed because an output structure can contain embedded built-ins
(like SV_Position) which should not get locations assigned. 
						
						
					 
					
						2016-09-16 01:52:14 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							7dc630f3da 
							
						 
					 
					
						
						
							
							HLSL: Flatten a return struct from an entry point and assign locations after flattening.  
						
						... 
						
						
						
						Locations now get assigned in order, but skipping built-ins, which can be
done post flattening. 
						
						
					 
					
						2016-09-16 01:44:43 -06:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							64b9743ce0 
							
						 
					 
					
						
						
							
							SPV: Support simultaneous l-value swizzle and dynamic component selection.  
						
						
						
						
					 
					
						2016-09-14 14:43:55 +08:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							deb4940c17 
							
						 
					 
					
						
						
							
							HLSL: Register all entry-point in/out as part of the interface.  
						
						... 
						
						
						
						This makes the interface be invariant, whether or not individual
variables are used. 
						
						
					 
					
						2016-09-12 11:55:47 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b3e24e4359 
							
						 
					 
					
						
						
							
							SPV: Fix issue  #506 : generalize struct deep copy to include arrays.  
						
						
						
						
					 
					
						2016-09-11 12:33:43 -06:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							4bfb32e17b 
							
						 
					 
					
						
						
							
							Merge branch 'bugfix2' of  https://github.com/amdrexu/glslang  into amdrexu-bugfix2  
						
						
						
						
					 
					
						2016-09-09 10:46:10 -06:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							c9f349234f 
							
						 
					 
					
						
						
							
							SPV: Use OpBitcast to implement 4 pack/unpack built-in functions.  
						
						
						
						
					 
					
						2016-09-09 17:50:07 +08:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							99c4dd16db 
							
						 
					 
					
						
						
							
							Preprocessor: UINT_MAX is translated to constant incorrectly.  
						
						
						
						
					 
					
						2016-09-09 17:06:15 +08: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 
							
						 
					 
					
						
						
						
						
							
						
						
							b804de605c 
							
						 
					 
					
						
						
							
							HLSL: Track binding numbers to struct instances; fixes issue  #496 .  
						
						
						
						
					 
					
						2016-09-05 12:19:18 -06:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							64bcfdb632 
							
						 
					 
					
						
						
							
							Parser: Add 64-bit type conversion for specialization constant.  
						
						
						
						
					 
					
						2016-09-05 22:20:28 +08: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 
							
						 
					 
					
						
						
						
						
							
						
						
							4bf7155051 
							
						 
					 
					
						
						
							
							SPV: Flatten structs for copy when they are GLSL type aliases.  
						
						... 
						
						
						
						Addresses issue #304  and issue #307  by replacing unmatched type OpStores with
per-member copies. Covers assignment statements and most argument passing, but
does not yet cover r-value-based argument passing. 
						
						
					 
					
						2016-09-02 16:35:01 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							f2b7f3353b 
							
						 
					 
					
						
						
							
							SPV: Tighten up number of struct-types declared based on decoration.  
						
						... 
						
						
						
						Takes some pressure off of issue #304 .
Structures don't inherit locations and then explicitly decorate
members with them, so removed this reason to have another instance
of a structure type. 
						
						
					 
					
						2016-09-01 17:05:23 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							510d83b384 
							
						 
					 
					
						
						
							
							HLSL: Create test results for the previous commits.  
						
						
						
						
					 
					
						2016-08-29 16:34:12 -06: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 
							
						 
					 
					
						
						
						
						
							
						
						
							f00c245a5f 
							
						 
					 
					
						
						
							
							Merge pull request  #473  from steve-lunarg/remapper-tests  
						
						... 
						
						
						
						SPV Remapper: add remapper test framework 
						
						
					 
					
						2016-08-26 11:32:54 -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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							a8456415b8 
							
						 
					 
					
						
						
							
							WIP: SPV Remapper: add remapper test framework  
						
						
						
						
					 
					
						2016-08-25 10:46:51 -06: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 
							
						 
					 
					
						
						
						
						
							
						
						
							32c169dbdf 
							
						 
					 
					
						
						
							
							Front-end: Warn for likely missed change in default precisions.  
						
						... 
						
						
						
						This is part of the change to have desktop shaders respect precision
qualifiers on Vulkan, but since the defaults are all highp, and that's
different from ES fragment shaders, detect likely cases and warn about
them (but being careful to not be too noisy if it's unlikely to be a
problem). 
						
						
					 
					
						2016-08-23 18:13:08 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							54571c2519 
							
						 
					 
					
						
						
							
							Vulkan: Have desktop shaders respect precision qualifiers.  
						
						... 
						
						
						
						Sets highp defaults for the appropriate types, for all stages,
and turns on precision qualifiers for non-ES shaders.  Required
fixing some qualifier orders for desktop built-in declarations
for pre-420 shaders. 
						
						
					 
					
						2016-08-23 18:12:25 -06:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							efe9724795 
							
						 
					 
					
						
						
							
							HLSL: Add EHTokStringConstant, so that string attributes may be parsed  
						
						
						
						
					 
					
						2016-08-22 17:13:17 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							370234888d 
							
						 
					 
					
						
						
							
							Front-end: Add a function selector under implicit type conversion.  
						
						... 
						
						
						
						Use the new function selector for #version 400 and above,
parameterized for the GLSL #version 400 selection rules.
This can be used for both GLSL and HLSL, and other languages
as well. 
						
						
					 
					
						2016-08-21 14:26:27 -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 
						 
				 
			
				
					
						
							
							
								Dan Baker 
							
						 
					 
					
						
						
						
						
							
						
						
							2c646b7afa 
							
						 
					 
					
						
						
							
							Updating tests, sadly every single HLSL test needs updating becuase of the language identifier  
						
						
						
						
					 
					
						2016-08-15 16:25:55 -04: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