Skip to content
  1. Dec 18, 2019
    • ReinUsesLisp's avatar
      shader/memory: Implement LDG.U8 and unaligned U8 loads · ae8d4b6c
      ReinUsesLisp authored
      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)
      ae8d4b6c
  2. Dec 17, 2019
  3. Dec 16, 2019
  4. Dec 15, 2019
  5. Dec 14, 2019
  6. Dec 13, 2019
  7. Dec 12, 2019
  8. Dec 11, 2019
  9. Dec 10, 2019
Loading