1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/shader/decode
ReinUsesLisp ae8d4b6c0c
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)
2019-12-18 01:21:46 -03:00
..
arithmetic.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
arithmetic_half.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
arithmetic_half_immediate.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
arithmetic_immediate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
arithmetic_integer.cpp Shader_IR: Address Feedback 2019-11-18 07:34:34 -04:00
arithmetic_integer_immediate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
bfe.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
bfi.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
conversion.cpp shader_ir/conversion: Split int and float selector and implement F2F H1 2019-08-28 16:09:33 -03:00
ffma.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
float_set.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
float_set_predicate.cpp Merge pull request #2811 from ReinUsesLisp/fsetp-fix 2019-09-03 22:34:34 -04:00
half_set.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
half_set_predicate.cpp shader/decode: Reduce severity of arithmetic rounding warnings 2019-11-07 01:43:38 -03:00
hfma2.cpp Shader_Ir: Downgrade precision and rounding asserts to debug asserts. 2019-07-18 08:17:19 -04:00
image.cpp shader/node: Unpack bindless texture encoding 2019-10-29 20:53:48 -03:00
integer_set.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
integer_set_predicate.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
memory.cpp shader/memory: Implement LDG.U8 and unaligned U8 loads 2019-12-18 01:21:46 -03:00
other.cpp shader: Implement MEMBAR.GL 2019-12-10 16:45:03 -03:00
predicate_set_predicate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
predicate_set_register.cpp video_core: Silent miscellaneous warnings (#2820) 2019-08-30 14:08:00 -04:00
register_set_predicate.cpp shader: Use shared_ptr to store nodes and move initialization to file 2019-06-05 20:41:52 -03:00
shift.cpp video_core/shader: Resolve instances of variable shadowing 2019-10-23 23:00:31 -04:00
texture.cpp Shader_IR: Correct TLD4S Depth Compare. 2019-12-11 19:53:17 -04:00
video.cpp video_core/shader: Resolve instances of variable shadowing 2019-10-23 23:00:31 -04:00
warp.cpp shader: Keep track of shaders using warp instructions 2019-12-09 23:40:41 -03:00
xmad.cpp shader_ir: Rename Get/SetTemporal to Get/SetTemporary 2019-07-16 19:47:43 -04:00