mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #948 from yuriks/fix-dp3
Pica/VertexShader: Fix DP3 instruction, which wasn't assigning to the w component.
This commit is contained in:
		
						commit
						74b8c5947b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -221,7 +221,7 @@ static void ProcessShaderCode(VertexShaderState& state) { | ||||||
|                 for (int i = 0; i < num_components; ++i) |                 for (int i = 0; i < num_components; ++i) | ||||||
|                     dot = dot + src1[i] * src2[i]; |                     dot = dot + src1[i] * src2[i]; | ||||||
| 
 | 
 | ||||||
|                 for (int i = 0; i < num_components; ++i) { |                 for (int i = 0; i < 4; ++i) { | ||||||
|                     if (!swizzle.DestComponentEnabled(i)) |                     if (!swizzle.DestComponentEnabled(i)) | ||||||
|                         continue; |                         continue; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue