Zebediah Figura 
							
						 
					 
					
						
						
							
						
						cdcf2da2eb 
					 
					
						
						
							
							vkd3d-shader/hlsl: Make HLSL_TYPE_VOID into a separate class.  
						
						
						
						
					 
					
						2024-04-19 22:23:14 +02:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						0e3377a1be 
					 
					
						
						
							
							vkd3d-shader/hlsl: Avoid using HLSL_CLASS_OBJECT without checking the base type.  
						
						... 
						
						
						
						As the diffstat shows, HLSL_CLASS_OBJECT does not really have much in common.
Resource types (TEXTURE, SAMPLER, UAV) sometimes behave similarly to each other,
but do not generally behave similarly to effect-specific types (string, shader,
state, view). Most consumers of HLSL_CLASS_OBJECT subsequently check the base
type anyway.
Hence we want to replace HLSL_TYPE_* with individual classes for object types.
As a first step, change the last few places that only check HLSL_CLASS_OBJECT. 
						
						
					 
					
						2024-04-09 12:27:55 -05:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						c5f507ac38 
					 
					
						
						
							
							vkd3d-shader/hlsl: Add SM5.1 shader target strings.  
						
						
						
						
					 
					
						2024-04-09 12:27:47 -05:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						8fca801591 
					 
					
						
						
							
							vkd3d-shader/tpf: Use the extra_bits field for _nz on discard.  
						
						
						
						
					 
					
						2024-04-09 12:27:03 -05:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						3a0a4b625f 
					 
					
						
						
							
							vkd3d-shader/hlsl: Merge HLSL_OP3_MOVC into HLSL_OP3_TERNARY.  
						
						
						
						
					 
					
						2024-04-09 12:27:02 -05:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						2247288003 
					 
					
						
						
							
							vkd3d-shader/tpf: Set the user-packed flag for sm5.0 resources as well.  
						
						
						
						
					 
					
						2024-03-27 22:36:39 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						7b87895289 
					 
					
						
						
							
							vkd3d-shader/tpf: Write the component count as the column count for structs.  
						
						
						
						
					 
					
						2024-03-27 22:36:37 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						5bf23cb2f5 
					 
					
						
						
							
							vkd3d-shader/tpf: Explicitly write the class and base type for non-numeric types.  
						
						... 
						
						
						
						Avoid relying on that information being stored in the hlsl_type. 
						
						
					 
					
						2024-03-27 22:36:36 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						34e9c101e8 
					 
					
						
						
							
							vkd3d-shader/tpf: Do not write structs with no numeric fields into the RDEF.  
						
						
						
						
					 
					
						2024-03-27 22:36:35 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						622fcda9ee 
					 
					
						
						
							
							vkd3d-shader/tpf: Do not write non-numeric struct fields into the RDEF.  
						
						
						
						
					 
					
						2024-03-27 22:36:33 +01:00 
						 
				 
			
				
					
						
							
							
								Henri Verbeet 
							
						 
					 
					
						
						
							
						
						abf76372e0 
					 
					
						
						
							
							vkd3d-shader/ir: Pass a struct vsir_program to vsir_validate().  
						
						
						
						
					 
					
						2024-03-14 23:24:29 +01:00 
						 
				 
			
				
					
						
							
							
								Conor McCarthy 
							
						 
					 
					
						
						
							
						
						6dd54eeb09 
					 
					
						
						
							
							vkd3d-shader/spirv: Support zero-initialisation for workgroup memory.  
						
						
						
						
					 
					
						2024-03-14 22:48:41 +01:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						1690b0b554 
					 
					
						
						
							
							vkd3d-shader: Remove the bytecode fields from vkd3d_shader_desc.  
						
						
						
						
					 
					
						2024-03-11 22:09:32 +01:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						204c8afb9c 
					 
					
						
						
							
							vkd3d-shader/dxbc: Remove flag is_dxil.  
						
						... 
						
						
						
						The full shader profile is already available in vsir_program. 
						
						
					 
					
						2024-03-11 22:09:31 +01:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						470d83a9da 
					 
					
						
						
							
							vkd3d-shader: Move shader signatures to vsir_program.  
						
						
						
						
					 
					
						2024-03-11 22:09:31 +01:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						56dc0c9842 
					 
					
						
						
							
							vkd3d-shader/dxbc: Decouple vkd3d_shader_desc from DXBC parsing.  
						
						
						
						
					 
					
						2024-03-11 22:09:30 +01:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						5204b92fa0 
					 
					
						
						
							
							vkd3d-shader/tpf: Remove a useless parameter to shader_sm4_init().  
						
						
						
						
					 
					
						2024-03-11 22:09:28 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						9177df883e 
					 
					
						
						
							
							vkd3d-shader/hlsl: Write the SFI0 section and "REQUIRES_ROVS" flag when ROVs are used.  
						
						
						
						
					 
					
						2024-03-04 22:34:46 +01:00 
						 
				 
			
				
					
						
							
							
								Henri Verbeet 
							
						 
					 
					
						
						
							
						
						7029d821be 
					 
					
						
						
							
							configure: Build with -Wtype-limits.  
						
						... 
						
						
						
						libs/vkd3d-shader/tpf.c: In function ‘write_sm4_unary_op_with_two_destinations’:
libs/vkd3d-shader/tpf.c:4489:24: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
     assert(1 - dst_idx >= 0);
                        ^~
libs/vkd3d-shader/tpf.c: In function ‘write_sm4_binary_op_with_two_destinations’:
libs/vkd3d-shader/tpf.c:4549:24: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
     assert(1 - dst_idx >= 0);
                        ^~ 
						
						
					 
					
						2024-02-22 22:46:22 +01:00 
						 
				 
			
				
					
						
							
							
								Henri Verbeet 
							
						 
					 
					
						
						
							
						
						d4223a03c8 
					 
					
						
						
							
							vkd3d-shader/hlsl: Replace HLSL_MODIFIER_RASTERIZER_ORDERED with a hlsl_type.e.resource flag.  
						
						
						
						
					 
					
						2024-02-21 23:23:08 +01:00 
						 
				 
			
				
					
						
							
							
								Henri Verbeet 
							
						 
					 
					
						
						
							
						
						49d14613a5 
					 
					
						
						
							
							vkd3d-shader/hlsl: Introduce hlsl_type.e.resource.  
						
						
						
						
					 
					
						2024-02-21 23:23:06 +01:00 
						 
				 
			
				
					
						
							
							
								Evan Tang 
							
						 
					 
					
						
						
							
						
						7b41abaa1b 
					 
					
						
						
							
							vkd3d-shader/hlsl: Support SV_PrimitiveID in pixel shaders.  
						
						
						
						
					 
					
						2024-02-19 21:12:23 +01:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						c249461e97 
					 
					
						
						
							
							vkd3d-shader/hlsl: Parse Buffer types.  
						
						
						
						
					 
					
						2024-02-19 21:11:55 +01:00 
						 
				 
			
				
					
						
							
							
								Evan Tang 
							
						 
					 
					
						
						
							
						
						ee867bd470 
					 
					
						
						
							
							vkd3d-shader/hlsl: Parse rasteriser-ordered view types.  
						
						
						
						
					 
					
						2024-02-15 23:29:46 +01:00 
						 
				 
			
				
					
						
							
							
								Henri Verbeet 
							
						 
					 
					
						
						
							
						
						d38221bd68 
					 
					
						
						
							
							vkd3d-shader/ir: Pass a struct vsir_program to shader_parser_get_src_params().  
						
						
						
						
					 
					
						2024-02-01 00:08:23 +01:00