Skip to content

Commit

Permalink
Merge pull request #70 from EngineersBox/master
Browse files Browse the repository at this point in the history
Fixed GP0(E2h) texture coordinate calculation wrapping
  • Loading branch information
nicolasnoble authored May 17, 2024
2 parents 61ee97d + 1dc1a8b commit 9c328ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/graphicsprocessingunitgpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ for timing reasons...?<br/>
Mask specifies the bits that are to be manipulated, and Offset contains the new
values for these bits, ie. texture X/Y coordinates are adjusted as so:<br/>
```
Texcoord = (Texcoord AND (NOT (Mask*8))) OR ((Offset AND Mask)*8)
Texcoord = (Texcoord AND ((Mask*8)-1)) OR ((Offset AND Mask)*8)
```
The area within a texture window is repeated throughout the texture page. The
data is not actually stored all over the texture page but the GPU reads the
Expand Down

0 comments on commit 9c328ff

Please sign in to comment.