mirror of
				https://github.com/hedge-dev/XenosRecomp.git
				synced 2025-10-30 07:12:17 +00:00 
			
		
		
		
	Move Push Constants buffer index
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
This commit is contained in:
		
							parent
							
								
									c96ad61b71
								
							
						
					
					
						commit
						13fb9fd4b9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -1687,7 +1687,7 @@ void ShaderRecompiler::recompile(const uint8_t* shaderData, const std::string_vi | |||
|         out += "\tconstant Texture3DDescriptorHeap& g_Texture3DDescriptorHeap [[buffer(1)]],\n"; | ||||
|         out += "\tconstant TextureCubeDescriptorHeap& g_TextureCubeDescriptorHeap [[buffer(2)]],\n"; | ||||
|         out += "\tconstant SamplerDescriptorHeap& g_SamplerDescriptorHeap [[buffer(3)]],\n"; | ||||
|         out += "\tconstant PushConstants& g_PushConstants [[buffer(8)]]\n"; | ||||
|         out += "\tconstant PushConstants& g_PushConstants [[buffer(4)]]\n"; | ||||
| 
 | ||||
|         out += "#else\n"; | ||||
| 
 | ||||
|  | @ -1705,7 +1705,7 @@ void ShaderRecompiler::recompile(const uint8_t* shaderData, const std::string_vi | |||
|     else | ||||
|     { | ||||
|         out += "#ifdef __air__\n"; | ||||
|         out += "\tconstant PushConstants& g_PushConstants [[buffer(8)]],\n"; | ||||
|         out += "\tconstant PushConstants& g_PushConstants [[buffer(4)]],\n"; | ||||
|         out += "\tVertexShaderInput input [[stage_in]]\n"; | ||||
|         out += "#else\n"; | ||||
|         out += "\tVertexShaderInput input\n"; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Isaac Marovitz
						Isaac Marovitz