mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 21:36:27 -05:00
76f178ba6e
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). |
||
---|---|---|
.. | ||
decode | ||
ast.cpp | ||
ast.h | ||
compiler_settings.cpp | ||
compiler_settings.h | ||
control_flow.cpp | ||
control_flow.h | ||
decode.cpp | ||
expr.cpp | ||
expr.h | ||
node.h | ||
node_helper.cpp | ||
node_helper.h | ||
registry.cpp | ||
registry.h | ||
shader_ir.cpp | ||
shader_ir.h | ||
track.cpp | ||
transform_feedback.cpp | ||
transform_feedback.h |