forked from eden-emu/eden
		
	emit_glasm_context_get_and_set.cpp: Add missing semicolons
This commit is contained in:
		
							parent
							
								
									83ff44531b
								
							
						
					
					
						commit
						22f261e954
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -164,14 +164,14 @@ void EmitGetPatch(EmitContext& ctx, IR::Inst& inst, IR::Patch patch) { | ||||||
|     } |     } | ||||||
|     const u32 index{IR::GenericPatchIndex(patch)}; |     const u32 index{IR::GenericPatchIndex(patch)}; | ||||||
|     const u32 element{IR::GenericPatchElement(patch)}; |     const u32 element{IR::GenericPatchElement(patch)}; | ||||||
|     ctx.Add("MOV.F {},result.patch.attrib[{}].{}", inst, index, "xyzw"[element]); |     ctx.Add("MOV.F {},result.patch.attrib[{}].{};", inst, index, "xyzw"[element]); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void EmitSetPatch(EmitContext& ctx, IR::Patch patch, ScalarF32 value) { | void EmitSetPatch(EmitContext& ctx, IR::Patch patch, ScalarF32 value) { | ||||||
|     if (IR::IsGeneric(patch)) { |     if (IR::IsGeneric(patch)) { | ||||||
|         const u32 index{IR::GenericPatchIndex(patch)}; |         const u32 index{IR::GenericPatchIndex(patch)}; | ||||||
|         const u32 element{IR::GenericPatchElement(patch)}; |         const u32 element{IR::GenericPatchElement(patch)}; | ||||||
|         ctx.Add("MOV.F result.patch.attrib[{}].{},{}", index, "xyzw"[element], value); |         ctx.Add("MOV.F result.patch.attrib[{}].{},{};", index, "xyzw"[element], value); | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
|     switch (patch) { |     switch (patch) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 ameerj
						ameerj