mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 11:50:36 +02:00
nir: add amul flag
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31964>
This commit is contained in:
parent
227026b7ad
commit
eaf75169ee
1 changed files with 7 additions and 0 deletions
|
|
@ -4167,6 +4167,13 @@ typedef struct nir_shader_compiler_options {
|
|||
/** Backend supports ternary addition */
|
||||
bool has_iadd3;
|
||||
|
||||
/**
|
||||
* Backend supports amul and would like them generated whenever
|
||||
* possible. This is stronger than has_imul24 for amul, but does not imply
|
||||
* support for imul24.
|
||||
*/
|
||||
bool has_amul;
|
||||
|
||||
/**
|
||||
* Backend supports imul24, and would like to use it (when possible)
|
||||
* for address/offset calculation. If true, driver should call
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue