aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-28 18:49:50 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-12 00:34:42 -0300
commit44e1a2c490f77aaf6ed594a4cdae07664d6119f5 (patch)
treefec59062ca81807bd8ac4dc8e0216fe2f5c27384 /src/video_core/buffer_cache
parent1f7c51a57b35bc79fdec318003eba443f5f62301 (diff)
shader/video: Partially implement VMNMX
Implements the common usages for VMNMX. Inputs with a different size than 32 bits are not supported and sign mismatches aren't supported either. VMNMX works as follows: It grabs Ra and Rb and applies a maximum/minimum on them (this is defined by .MX), having in mind the input sign. This result can then be saturated. After the intermediate result is calculated, it applies another operation on it using Rc. These operations are merges, accumulations or another min/max pass. This instruction allows to implement with a more flexible approach GCN's min3 and max3 instructions (for instance).
Diffstat (limited to 'src/video_core/buffer_cache')
0 files changed, 0 insertions, 0 deletions