Francisco Casas 
							
						 
					 
					
						
						
							
						
						b65f5fb069 
					 
					
						
						
							
							vkd3d-shader/hlsl: Also pass field storage modifiers to output signature elements.  
						
						... 
						
						
						
						The generated pixel shader input signature must be consistent with the
generated vertex shader output signature for the same data type.
Since the interpolation mode affects allocation order, the allocator
needs to know the modifiers for both input and output signature elements. 
						
						
					 
					
						2024-10-22 19:29:11 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						7180a96741 
					 
					
						
						
							
							vkd3d-shader/hlsl: Use a register_allocator to allocate semantic registers.  
						
						
						
						
					 
					
						2024-10-22 19:23:33 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						9ce7b7806f 
					 
					
						
						
							
							vkd3d-shader/hlsl: Add mode field to register_allocator allocations.  
						
						
						
						
					 
					
						2024-10-22 19:23:22 +02:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						ed4d45355a 
					 
					
						
						
							
							vkd3d-shader/ir: Represent the normalisation level with an enumeration.  
						
						
						
						
					 
					
						2024-10-21 18:21:39 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						0273ff007b 
					 
					
						
						
							
							vkd3d-shader/tpf: Write domain shader declarations.  
						
						
						
						
					 
					
						2024-10-21 18:18:00 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						2b897296a1 
					 
					
						
						
							
							vkd3d-shader/tpf: Write the input signature of domain shaders as PCSG.  
						
						
						
						
					 
					
						2024-10-21 18:16:50 +02:00 
						 
				 
			
				
					
						
							
							
								Giovanni Mascellani 
							
						 
					 
					
						
						
							
						
						eba8fd4720 
					 
					
						
						
							
							vkd3d-shader: Keep track of whether programs have normalised I/O.  
						
						
						
						
					 
					
						2024-10-17 17:34:55 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						1ed5f1a4d0 
					 
					
						
						
							
							vkd3d-shader/tpf: Write the patch constant function in hull shaders.  
						
						... 
						
						
						
						We use a single hs_fork_phase here for the patch constant function. 
						
						
					 
					
						2024-10-16 21:40:40 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						df3aaac7cf 
					 
					
						
						
							
							vkd3d-shader/tpf: Introduce tpf_write_shader_function().  
						
						
						
						
					 
					
						2024-10-16 21:12:13 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						147f8898ca 
					 
					
						
						
							
							vkd3d-shader/hlsl: Process the patch constant function in hlsl_emit_bytecode().  
						
						... 
						
						
						
						Also, support patch constant function semantics in sm4_sysval_semantic_from_semantic_name(). 
						
						
					 
					
						2024-10-16 21:10:24 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						7eee877dd4 
					 
					
						
						
							
							vkd3d-shader/tpf: Make hlsl_sm4_register_from_semantic() independent of HLSL IR.  
						
						
						
						
					 
					
						2024-10-16 21:07:51 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						a243862b8c 
					 
					
						
						
							
							vkd3d-shader/tpf: Make sysval_semantic_from_hlsl() independent of HLSL IR.  
						
						
						
						
					 
					
						2024-10-16 21:05:10 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						7cc8151b81 
					 
					
						
						
							
							vkd3d-shader/tpf: Replace uses of ctx->profile with tpf->program->shader_version.  
						
						
						
						
					 
					
						2024-10-16 18:50:15 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						c75fbaf94e 
					 
					
						
						
							
							vkd3d-shader/tpf: Use the I/O signatures from the vsir program in tpf_write_signature().  
						
						
						
						
					 
					
						2024-10-16 17:40:26 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						5b21cc67f1 
					 
					
						
						
							
							vkd3d-shader/hlsl: Split hlsl_sm4_write().  
						
						... 
						
						
						
						Similarly to the already done split from
    HLSL IR -> d3dbc
to
    HLSL IR -> vsir -> d3bc
we now start splitting the
    HLSL IR -> tpf
translation into
    HLSL IR -> vsir -> tpf
So hlsl_sm4_write is split into two functions, sm4_generate_vsir() and
tpf_compile().
This translation should be completed once tpf_compile() no longer needs
the hlsl_ctx and entry_func parameters. 
						
						
					 
					
						2024-10-16 17:08:50 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						3601397703 
					 
					
						
						
							
							vkd3d-shader/d3dbc: Remove the "hlsl_" prefix from external functions.  
						
						... 
						
						
						
						They no longer rely on HLSL IR.
Also, rename them from "_from_semantic" to "from_semantic_name". 
						
						
					 
					
						2024-10-16 16:52:45 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						cb55ba5b9b 
					 
					
						
						
							
							vkd3d-shader/hlsl: Invoke prepend_uniform_copy() only once for global uniforms.  
						
						... 
						
						
						
						We store the copy instructions in a separate block that is cloned for
each function processed. 
						
						
					 
					
						2024-10-15 16:42:47 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						0c5dc53fd2 
					 
					
						
						
							
							vkd3d-shader/hlsl: Allocate temporary registers separately for each entry function.  
						
						
						
						
					 
					
						2024-10-15 16:39:50 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						5f8570b933 
					 
					
						
						
							
							vkd3d-shader/hlsl: Track whether a variable is read in any entry function.  
						
						
						
						
					 
					
						2024-10-15 16:18:36 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						f15a1c0b23 
					 
					
						
						
							
							vkd3d-shader/hlsl: Record semantic extern vars separately for each entry function.  
						
						... 
						
						
						
						This is required in order to process the entry point function and the
patch constant function in hull shaders. 
						
						
					 
					
						2024-10-15 16:18:27 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						bbc6b56ab0 
					 
					
						
						
							
							vkd3d-shader/hlsl: Clone static_initializers for each entry function.  
						
						
						
						
					 
					
						2024-10-15 16:13:31 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Ren 
							
						 
					 
					
						
						
							
						
						5571522efe 
					 
					
						
						
							
							vkd3d-shader/hlsl: Introduce process_entry_function() helper.  
						
						... 
						
						
						
						This will be used in order to process both the entry point function
and the patch constant function in hull shaders. 
						
						
					 
					
						2024-10-15 16:10:56 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Casas 
							
						 
					 
					
						
						
							
						
						caa2a9d314 
					 
					
						
						
							
							vkd3d-shader/hlsl: Parse sampler_state.  
						
						
						
						
					 
					
						2024-10-02 22:07:34 +02:00 
						 
				 
			
				
					
						
							
							
								Nikolay Sivov 
							
						 
					 
					
						
						
							
						
						2722346ffb 
					 
					
						
						
							
							vkd3d-shader/hlsl: Do not lower index expressions for effects.  
						
						... 
						
						
						
						Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com > 
						
						
					 
					
						2024-10-02 22:05:24 +02:00 
						 
				 
			
				
					
						
							
							
								Victor Chiletto 
							
						 
					 
					
						
						
							
						
						2ea5f187f9 
					 
					
						
						
							
							vkd3d-shader/hlsl: Allow cbuffer reservations to overlap if only one of them is allocated.  
						
						
						
						
					 
					
						2024-10-01 17:28:41 +02:00