forked from eden-emu/eden
		
	shader_recompiler: Use functions for indirect const buffer accesses
This commit is contained in:
		
							parent
							
								
									f3382e6339
								
							
						
					
					
						commit
						95b9f62686
					
				
					 5 changed files with 94 additions and 39 deletions
				
			
		|  | @ -30,6 +30,8 @@ void AddConstantBufferDescriptor(Info& info, u32 index, u32 count) { | |||
| } | ||||
| 
 | ||||
| void AddRegisterIndexedLdc(Info& info) { | ||||
|     info.uses_cbuf_indirect = true; | ||||
| 
 | ||||
|     // The shader can use any possible constant buffer
 | ||||
|     info.constant_buffer_mask = (1 << Info::MAX_CBUFS) - 1; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liam
						Liam