summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-12-18 00:36:21 -0300
committerGravatar ReinUsesLisp2019-12-18 01:21:46 -0300
commitae8d4b6c0c930178d17bb61bb17270aea133754d (patch)
tree48ffb54bd8d8d397431c2c3474b2b02b0378da90 /src/core/frontend/framebuffer_layout.cpp
parentMerge pull request #3173 from yuzu-emu/bunnei-spscqueue (diff)
downloadyuzu-ae8d4b6c0c930178d17bb61bb17270aea133754d.tar.gz
yuzu-ae8d4b6c0c930178d17bb61bb17270aea133754d.tar.xz
yuzu-ae8d4b6c0c930178d17bb61bb17270aea133754d.zip
shader/memory: Implement LDG.U8 and unaligned U8 loads
LDG can load single bytes instead of full integers or packs of integers. These have the advantage of loading bytes that are not aligned to 4 bytes. To emulate these this commit gets the byte being referenced (by doing "address & 3" and then using that to extract the byte from the loaded integer: result = bitfieldExtract(loaded_integer, (address % 4) * 8, 8)
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions