forked from eden-emu/eden
		
	shader: Address feedback + clang format
This commit is contained in:
		
							parent
							
								
									0bb85f6a75
								
							
						
					
					
						commit
						5bfcafa0a2
					
				
					 12 changed files with 22 additions and 24 deletions
				
			
		|  | @ -7,7 +7,6 @@ | |||
| namespace Shader::Backend::SPIRV { | ||||
| namespace { | ||||
| Id WarpExtract(EmitContext& ctx, Id value) { | ||||
|     [[maybe_unused]] const Id shift{ctx.Constant(ctx.U32[1], 5)}; | ||||
|     const Id local_index{ctx.OpLoad(ctx.U32[1], ctx.subgroup_local_invocation_id)}; | ||||
|     return ctx.OpVectorExtractDynamic(ctx.U32[1], value, local_index); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 lat9nq
						lat9nq