Zebediah Figura 
							
						 
					 
					
						
						
							
						
						1bf3aa9275 
					 
					
						
						
							
							vkd3d-shader/hlsl: Return an hlsl_ir_node pointer from hlsl_new_bool_constant().  
						
						
						
						
					 
					
						2023-04-18 21:59:34 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						5c285adc6b 
					 
					
						
						
							
							vkd3d-shader/hlsl: Use hlsl_ir_index for array and record access.  
						
						... 
						
						
						
						From this point on, it is no longer true that only hlsl_ir_loads can
return objects, because an object can also come from chain of
hlsl_ir_indexes that ends in an hlsl_ir_load.
The lower_index_loads pass takes care of lowering all hlsl_ir_indexes
into hlsl_ir_loads.
For this reason, hlsl_resource_load_params now expects both the resource
as the sampler to be just an hlsl_ir_node pointer instead of a pointer
to a more specific hlsl_ir_load. 
						
						
					 
					
						2023-04-13 23:05:32 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						741c9e5893 
					 
					
						
						
							
							vkd3d-shader/hlsl: Introduce hlsl_ir_index.  
						
						... 
						
						
						
						This node type is intended for use during parse-time.
While we parse an indexing expression such as "a[3]", we don't know if
it will end up as part of an expression (in which case it must be folded
into a load) or it is for the lhs of a store (in which case it must be
folded into the store's deref). 
						
						
					 
					
						2023-04-13 23:05:25 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						0ceecd1225 
					 
					
						
						
							
							vkd3d-shader/hlsl: Fix numeric offset of object fields.  
						
						
						
						
					 
					
						2023-04-13 23:05:07 +02:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						725d408974 
					 
					
						
						
							
							vkd3d-shader/hlsl: Introduce an hlsl_block_init() helper.  
						
						
						
						
					 
					
						2023-04-06 17:51:40 +02:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						1da5a9a490 
					 
					
						
						
							
							vkd3d-shader/hlsl: Introduce an hlsl_block_add_block() helper.  
						
						
						
						
					 
					
						2023-04-06 17:51:38 +02:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						ceac81b816 
					 
					
						
						
							
							vkd3d-shader/hlsl: Introduce an hlsl_block_add_instr() helper.  
						
						
						
						
					 
					
						2023-04-06 17:51:36 +02:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						7a9e393ea0 
					 
					
						
						
							
							vkd3d-shader/hlsl: Rename the "type" field of struct hlsl_type to "class".  
						
						... 
						
						
						
						To be consistent with enum hlsl_type_class and HLSL_CLASS_*. 
						
						
					 
					
						2023-04-03 17:59:24 +02:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						b172f4c257 
					 
					
						
						
							
							vkd3d-shader/hlsl: Improve handling of builtin alias type "vector".  
						
						... 
						
						
						
						Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com > 
						
						
					 
					
						2023-04-03 17:59:08 +02:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						5b5c020ade 
					 
					
						
						
							
							vkd3d-shader/hlsl: Improve handling of builtin alias type "matrix".  
						
						
						
						
					 
					
						2023-04-03 17:59:06 +02:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						4110f1e547 
					 
					
						
						
							
							vkd3d-shader: Fix a few typos in the comments.  
						
						
						
						
					 
					
						2023-03-15 20:13:27 +01:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						193692bbcb 
					 
					
						
						
							
							vkd3d-shader/hlsl: Use array element type for array's regset.  
						
						... 
						
						
						
						Currently this affects SM1 compilation only, with a minimal example like this:
float4 var[3];
float4 main() : sv_target
{
    return var[1];
} 
						
						
					 
					
						2023-03-09 22:10:39 +01:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						ae2f777a4d 
					 
					
						
						
							
							vkd3d-shader/hlsl: Parse multisample texture type names.  
						
						
						
						
					 
					
						2023-03-08 20:15:09 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						322963add8 
					 
					
						
						
							
							vkd3d-shader/hlsl: Do not set an initial latent matrix majority.  
						
						... 
						
						
						
						This change does nothing by itself. 
						
						
					 
					
						2023-02-28 22:06:59 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						75ab9d31ef 
					 
					
						
						
							
							vkd3d-shader/hlsl: Store the matrix majority as a type modifiers bitmask.  
						
						
						
						
					 
					
						2023-02-28 22:06:58 +01:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						dd36215a00 
					 
					
						
						
							
							vkd3d-shader/hlsl: Support case-insensitive lookup for builtin 'float' type.  
						
						... 
						
						
						
						Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com > 
						
						
					 
					
						2023-02-23 21:46:42 +01:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						df2d6d35e2 
					 
					
						
						
							
							vkd3d-shader/hlsl: Use unsigned type for the 'dword' alias.  
						
						... 
						
						
						
						Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com > 
						
						
					 
					
						2023-02-23 21:46:40 +01:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						891217664a 
					 
					
						
						
							
							vkd3d-shader/hlsl: Support case-insensitive lookup for builtin 'dword' type.  
						
						
						
						
					 
					
						2023-02-23 21:46:38 +01:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						d07247249a 
					 
					
						
						
							
							vkd3d-shader/hlsl: Store the type's register size for each register set.  
						
						
						
						
					 
					
						2023-02-22 18:28:19 +01:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						2142d31f13 
					 
					
						
						
							
							vkd3d-shader/hlsl: Fix number of components when creating a swizzle in copy-prop.  
						
						... 
						
						
						
						Otherwise we may create nodes of different dimensions than the ones we
are replacing.
"count" is the number of components of the source deref (without
considering the swizzle), while "instr_component_count" is the actual
number of components of the instruction to be replaced. 
						
						
					 
					
						2023-02-20 21:59:31 +01:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						7c3dadce6b 
					 
					
						
						
							
							vkd3d-shader/hlsl: Write SM4 break instructions.  
						
						
						
						
					 
					
						2023-02-15 21:53:21 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						4b944517b7 
					 
					
						
						
							
							vkd3d-shader/hlsl: Inline function calls.  
						
						
						
						
					 
					
						2023-02-13 22:16:53 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						8bdee6681b 
					 
					
						
						
							
							vkd3d-shader/hlsl: Lower return statements.  
						
						
						
						
					 
					
						2023-02-13 22:16:51 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						0cf39f3c63 
					 
					
						
						
							
							vkd3d-shader/hlsl: Emit a hlsl_fixme() if multiple valid entry point definitions are given.  
						
						
						
						
					 
					
						2023-02-13 22:16:49 +01:00 
						 
				 
			
				
					
						
							
							
								Zebediah Figura 
							
						 
					 
					
						
						
							
						
						bb41c3b5fe 
					 
					
						
						
							
							vkd3d-shader/hlsl: Skip functions that don't have a body when looking for the entry point.  
						
						
						
						
					 
					
						2023-02-13 22:16:48 +01:00