John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							0e7378446b 
							
						 
					 
					
						
						
							
							Fix   #790 : Don't emit NV-specific interface members unless enabled by extension.  
						
						
						
						
					 
					
						2017-03-24 18:40:40 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							3778979cd4 
							
						 
					 
					
						
						
							
							HLSL: non-static member functions: track and find active anonymous 'this' scopes and members.  
						
						... 
						
						
						
						Thanks to @steve-lunarg for his input and discussions on handling member functions. 
						
						
					 
					
						2017-03-21 23:56:40 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							4960baaf66 
							
						 
					 
					
						
						
							
							HLSL: Basic turn on of non-static member functions.  
						
						... 
						
						
						
						Still need: pass by reference in SPIR-V and symbol-table level
for accessing 'this' members from member functions. 
						
						
					 
					
						2017-03-19 18:09:59 -06:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							5e317ffe40 
							
						 
					 
					
						
						
							
							SPV: Fix unexpected declarations of capability and extension  
						
						
						
						
					 
					
						2017-03-16 23:02:39 +08:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							0b5c2ae70e 
							
						 
					 
					
						
						
							
							Preserve signedness in SPV image query ops  
						
						... 
						
						
						
						The AST->SPIRV translation of image queries was dropping signedness,
causing some validation troubles. 
						
						
					 
					
						2017-03-10 12:51:59 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							0479437a5c 
							
						 
					 
					
						
						
							
							SPV:  Fix   #739 : OpSelect can only operate on scalars and vectors.  
						
						
						
						
					 
					
						2017-03-01 13:49:11 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							69a2c69649 
							
						 
					 
					
						
						
							
							Merge pull request  #736  from steve-lunarg/structbuffer-params  
						
						... 
						
						
						
						HLSL: add structuredbuffer pass by reference in fn params 
						
						
					 
					
						2017-02-28 13:10:51 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							42e33c9bec 
							
						 
					 
					
						
						
							
							SPV: Update SPV header to official Rev. 10 of 1.0, and fix the consequences of doing so.  
						
						
						
						
					 
					
						2017-02-27 01:50:28 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							6c8aaacd28 
							
						 
					 
					
						
						
							
							SPV: Implement new extensions GL_KHX_device_group and GL_KHX_multiview.  
						
						... 
						
						
						
						These correspond to SPV_KHR_device_group and SPV_KHR_multiview.
Also, bring tests up to date with Khronos internals, and some misc. related changes. 
						
						
					 
					
						2017-02-27 01:20:51 -07:00 
						 
				 
			
				
					
						
							
							
								steve-lunarg 
							
						 
					 
					
						
						
						
						
							
						
						
							dd8287a109 
							
						 
					 
					
						
						
							
							WIP: HLSL: add structuredbuffer pass by reference in fn params  
						
						... 
						
						
						
						This PR adds the ability to pass structuredbuffer types by reference
as function parameters.
It also changes the representation of structuredbuffers from anonymous
blocks with named members, to named blocks with pseudonymous members.
That should not be an externally visible change. 
						
						
					 
					
						2017-02-26 11:13:42 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							4a57dced66 
							
						 
					 
					
						
						
							
							SPV: Handle nested opaque types as function parameters.  
						
						
						
						
					 
					
						2017-02-24 19:22:54 -07:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							3e783f9b49 
							
						 
					 
					
						
						
							
							SPV: Unexpected declarations of capabilities from NV extensions.  
						
						
						
						
					 
					
						2017-02-22 16:44:48 +08:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							8f674e821e 
							
						 
					 
					
						
						
							
							Fix issue  #676 : emit error message on failure to open spv file.  
						
						
						
						
					 
					
						2017-02-18 09:45:40 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							b0561d934c 
							
						 
					 
					
						
						
							
							Merge pull request  #720  from flaviobortot/master  
						
						... 
						
						
						
						Added --vn option to generate a C header file containing a variable a… 
						
						
					 
					
						2017-02-17 09:34:08 -07:00 
						 
				 
			
				
					
						
							
							
								Flavio 
							
						 
					 
					
						
						
						
						
							
						
						
							15017db971 
							
						 
					 
					
						
						
							
							Removed tabs and replaced with spaces. Changed layout for "else if"  
						
						
						
						
					 
					
						2017-02-15 14:29:33 -08:00 
						 
				 
			
				
					
						
							
							
								chaoc 
							
						 
					 
					
						
						
						
						
							
						
						
							df3956c50f 
							
						 
					 
					
						
						
							
							Implement NVX_multiview_per_view_attributes  
						
						
						
						
					 
					
						2017-02-14 15:04:33 -08:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							8e6c6cef6a 
							
						 
					 
					
						
						
							
							SPV: Implement specialization constants for ?:.  
						
						
						
						
					 
					
						2017-02-08 17:07:07 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							433e9ff896 
							
						 
					 
					
						
						
							
							SPV: Emit OpSelect when a selection node is simple enough.  
						
						... 
						
						
						
						Also, ensures it has a type, no disallowed side effects,
or performance trade offs. 
						
						
					 
					
						2017-02-08 17:03:13 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							65ee230f1c 
							
						 
					 
					
						
						
							
							HLSL: Add tests and refine what decorations are passed through per stage/in/out.  
						
						
						
						
					 
					
						2017-02-06 23:13:16 -07:00 
						 
				 
			
				
					
						
							
							
								Flavio 
							
						 
					 
					
						
						
						
						
							
						
						
							aea3c890d3 
							
						 
					 
					
						
						
							
							Added --vn option to generate a C header file containing a variable assigned to the hex representation of the shader. This is a standard feature on Microsoft's HLSL compiler and it allows developers to include pre-compiled shaders directly into the code. This option enables "Hex output", so it is NOT required to specify -x as well. The output file name is preserved, so no ".h" extension is added. If you want the output file to have ".h" extension then you have to specify it on the output file name. The generated header file uses the "#pragma once" pragma to avoid multiple inclusions.  
						
						
						
						
					 
					
						2017-02-06 11:46:35 -08:00 
						 
				 
			
				
					
						
							
							
								Endre Oma 
							
						 
					 
					
						
						
						
						
							
						
						
							ad58d45437 
							
						 
					 
					
						
						
							
							SPV: Emit names of specialization constants  
						
						
						
						
					 
					
						2017-01-31 21:16:17 +01:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							64b010f390 
							
						 
					 
					
						
						
							
							Merge pull request  #678  from chaoc/stereo_view_rendering  
						
						... 
						
						
						
						support SPV_NV_viewport_array2 and SPV_NV_stereo_view_rendering 
						
						
					 
					
						2017-01-21 12:05:47 -07:00 
						 
				 
			
				
					
						
							
							
								chaoc 
							
						 
					 
					
						
						
						
						
							
						
						
							771d89fc36 
							
						 
					 
					
						
						
							
							support SPV_NV_viewport_array2 and SPV_NV_stereo_view_rendering  
						
						
						
						
					 
					
						2017-01-20 16:48:26 -08:00 
						 
				 
			
				
					
						
							
							
								Mike Weiblen 
							
						 
					 
					
						
						
						
						
							
						
						
							4e9e400ec6 
							
						 
					 
					
						
						
							
							Fix for not-handled-in-switch warnings  
						
						... 
						
						
						
						Added default to the switch() for AMD_EXTENSIONS to avoid a spew
of warning messages. 
						
						
					 
					
						2017-01-20 13:39:30 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							d3aea5edaf 
							
						 
					 
					
						
						
							
							Merge pull request  #679  from ashwinkolhe/akolhe_spv_khr_subgroup_vote  
						
						... 
						
						
						
						Implement SPV_KHR_subgroup_vote 
						
						
					 
					
						2017-01-19 16:16:49 -07:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							430ef40ab4 
							
						 
					 
					
						
						
							
							Implement new revision of extension GL_AMD_shader_ballot  
						
						... 
						
						
						
						- Add support for invocation functions with "InclusiveScan" and
  "ExclusiveScan" modes.
- Add support for invocation functions taking int64/uint64/doube/float16
  as inout data types. 
						
						
					 
					
						2017-01-19 12:09:51 +08:00 
						 
				 
			
				
					
						
							
							
								Ashwin Kolhe 
							
						 
					 
					
						
						
						
						
							
						
						
							c720f3e639 
							
						 
					 
					
						
						
							
							Implement SPV_KHR_subgroup_vote  
						
						... 
						
						
						
						doc.cpp: Add capabilities, scope to the opcodes. Add opcode and
capability strings.
GLSL.ext.KHR.h: Add extension
string.
GlslangToSpv.cpp: Fix handling of opcodes to generate
appropriate SPIR-V.
spirv.hpp: Add capability and opcode
enums.
spv.shaderGroupVote.comp.out: Update SPIR-V output for test
shader. 
						
						
					 
					
						2017-01-18 14:16:49 -08:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							fdf6347f0a 
							
						 
					 
					
						
						
							
							HLSL: Add EOpMatrixSwizzle, selectively decomposed to other ops, for issue  #670 .  
						
						... 
						
						
						
						Since EOpMatrixSwizzle is a new op, existing back-ends only work when the
front end first decomposes it to other operations. So far, this is only
being done for simple assignment into matrix swizzles. 
						
						
					 
					
						2017-01-13 12:35:01 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							927608b393 
							
						 
					 
					
						
						
							
							Non-functional: White space after "//", mostly for copyrights.  
						
						
						
						
					 
					
						2017-01-06 12:34:14 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							ecba76fe73 
							
						 
					 
					
						
						
							
							Non-Functional: Whitespace, comments, replace accidentally deleted comment.  
						
						... 
						
						
						
						- fixed ParseHelper.cpp newlines (crlf -> lf)
- removed trailing white space in most source files
- fix some spelling issues
- extra blank lines
- tabs to spaces
- replace #include comment about no location 
						
						
					 
					
						2017-01-06 11:24:14 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							807a0d9e2f 
							
						 
					 
					
						
						
							
							Merge pull request  #640  from chaoc/modify-shader-ballot  
						
						... 
						
						
						
						Modify shader ballot extension by adding OpSubgroupReadInvocationKHR 
						
						
					 
					
						2016-12-21 17:40:29 -07:00 
						 
				 
			
				
					
						
							
							
								chaoc 
							
						 
					 
					
						
						
						
						
							
						
						
							f200da8631 
							
						 
					 
					
						
						
							
							Modify shader ballot extension by adding OpSubgroupReadInvocationKHR  
						
						
						
						
					 
					
						2016-12-21 12:08:09 -08:00 
						 
				 
			
				
					
						
							
							
								chaoc 
							
						 
					 
					
						
						
						
						
							
						
						
							6e5acae144 
							
						 
					 
					
						
						
							
							Add support for SPV_NV_geometry_shader_passthrough  
						
						
						
						
					 
					
						2016-12-20 13:28:52 -08:00 
						 
				 
			
				
					
						
							
							
								chaoc 
							
						 
					 
					
						
						
						
						
							
						
						
							0ad6a4e60d 
							
						 
					 
					
						
						
							
							Add support for SPV_NV_sample_mask_override_coverage  
						
						
						
						
					 
					
						2016-12-19 16:29:34 -08:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							6a60c2f9ea 
							
						 
					 
					
						
						
							
							Linker: Walk the call graph to report an error on missing bodies.  
						
						
						
						
					 
					
						2016-12-08 23:22:21 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							517fe7a6ad 
							
						 
					 
					
						
						
							
							Non-functional: Rename some entry-point variables to entryPoint, not main.  
						
						
						
						
					 
					
						2016-11-26 13:31:47 -07:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							fca826212c 
							
						 
					 
					
						
						
							
							Always correctly terminate main. Issue  #588 , PR  #600 .  
						
						
						
						
					 
					
						2016-11-26 13:23:20 -07:00 
						 
				 
			
				
					
						
							
							
								chrgau01@arm.com 
							
						 
					 
					
						
						
						
						
							
						
						
							c3f1cdfa57 
							
						 
					 
					
						
						
							
							GLSL: The execution scope for barriers should be Workgroup.  
						
						
						
						
					 
					
						2016-11-14 10:10:05 +01:00 
						 
				 
			
				
					
						
							
							
								Jamie Madill 
							
						 
					 
					
						
						
						
						
							
						
						
							57cb69a3f1 
							
						 
					 
					
						
						
							
							Fix unrefenced variable warning with AMD_EXTENSIONS disabled.  
						
						
						
						
					 
					
						2016-11-09 13:49:24 -05:00 
						 
				 
			
				
					
						
							
							
								David Neto 
							
						 
					 
					
						
						
						
						
							
						
						
							bb5c02fd23 
							
						 
					 
					
						
						
							
							Add missing guard to code that uses AMD extensions  
						
						... 
						
						
						
						Otherwise compilation fails when ENABLED_AMD_EXTENSIONS is off. 
						
						
					 
					
						2016-10-19 10:17:25 -04:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							17ff343bf4 
							
						 
					 
					
						
						
							
							SPV: Add missing extension declarations for certain AMD extensions.  
						
						
						
						
					 
					
						2016-10-14 17:41:45 +08:00 
						 
				 
			
				
					
						
							
							
								Maciej Jesionowski 
							
						 
					 
					
						
						
						
						
							
						
						
							7208a974aa 
							
						 
					 
					
						
						
							
							SPV: Use SampledImage with OpImageQueryLod  
						
						... 
						
						
						
						Khronos SPIR-V issue #74  
						
						
					 
					
						2016-10-12 16:16:24 +02:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							f3b27471f8 
							
						 
					 
					
						
						
							
							SPV: Implement extension SPV_KHR_shader_draw_parameters.  
						
						
						
						
					 
					
						2016-10-11 14:40:35 +08:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							ed33e05762 
							
						 
					 
					
						
						
							
							HLSL: Do structure conversion for return type struct-punning on non-entry-point functions.  
						
						
						
						
					 
					
						2016-10-06 13:06:13 -06:00 
						 
				 
			
				
					
						
							
							
								John Kessenich 
							
						 
					 
					
						
						
						
						
							
						
						
							074ced3e00 
							
						 
					 
					
						
						
							
							Merge pull request  #521  from yavn/frag-shader-primitive-id-capability  
						
						... 
						
						
						
						SPV: PrimitiveId in frag shader will emit OpCapability 
						
						
					 
					
						2016-10-01 11:38:18 -06:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							c9e3c3c941 
							
						 
					 
					
						
						
							
							Parser: Implement extension GL_AMD_gpu_shader_half_float.  
						
						... 
						
						
						
						- Add built-in types: float16_t, f16vec, f16mat.
- Add support of half float constant: hf, HF.
- Extend built-in floating-point operators: +, -, *, /, ++, --, +=, -=,
  *=, /=, ==, !=, >=, <=, >, <.
- Add support of type conversions: float16_t -> XXX, XXX -> float16_t.
- Add new built-in functions. 
						
						
					 
					
						2016-09-30 16:13:06 +08:00 
						 
				 
			
				
					
						
							
							
								Maciej Jesionowski 
							
						 
					 
					
						
						
						
						
							
						
						
							04b3e8746f 
							
						 
					 
					
						
						
							
							SPV: PrimitiveId in frag shader will emit Geometry capability  
						
						... 
						
						
						
						Using PrimitiveId in a fragment shader requires declaring
an OpCapability with either Geometry or Tessellation. 
						
						
					 
					
						2016-09-27 10:35:09 +02:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							b707205b0d 
							
						 
					 
					
						
						
							
							SPV: OpGroupBroadcast is unable to handle vector operand.  
						
						
						
						
					 
					
						2016-09-26 15:53:40 +08:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							36876e6408 
							
						 
					 
					
						
						
							
							SPV: Still have to specify SPIR-V extension for gl_SubGroupSizeARB and gl_SubGroupInvocationARB.  
						
						
						
						
					 
					
						2016-09-23 22:13:43 +08:00 
						 
				 
			
				
					
						
							
							
								Rex Xu 
							
						 
					 
					
						
						
						
						
							
						
						
							5159664475 
							
						 
					 
					
						
						
							
							SPV: Implement the extension SPV_KHR_shader_ballot  
						
						
						
						
					 
					
						2016-09-22 16:05:07 +08:00