mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 13:18:04 +02:00
pan/bi: Fix FLOG_TABLE modifier handling
These should not be in a union together. [Note: this does not need to be backported, since the affected instruction is not emitted under any circumstances in the stable branches] Fixes:dd11e5076e("pan/bi: Add new bi_instr data structure") Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8894> (cherry picked from commit94fed29680)
This commit is contained in:
parent
bcde7c14c6
commit
40f3ce141a
2 changed files with 7 additions and 4 deletions
|
|
@ -1687,7 +1687,7 @@
|
|||
"description": "pan/bi: Fix FLOG_TABLE modifier handling",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "dd11e5076e6dda833b3e62551761aff9d2b01600"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -294,14 +294,11 @@ typedef struct {
|
|||
enum bi_atom_opc atom_opc; /* atomics */
|
||||
enum bi_func func; /* FPOW_SC_DET */
|
||||
enum bi_function function; /* LD_VAR_FLAT */
|
||||
enum bi_mode mode; /* FLOG_TABLE */
|
||||
enum bi_mux mux; /* MUX */
|
||||
enum bi_precision precision; /* FLOG_TABLE */
|
||||
enum bi_sem sem; /* FMAX, FMIN */
|
||||
enum bi_source source; /* LD_GCLK */
|
||||
bool scale; /* VN_ASST2, FSINCOS_OFFSET */
|
||||
bool offset; /* FSIN_TABLE, FOCS_TABLE */
|
||||
bool divzero; /* FRSQ_APPROX, FRSQ */
|
||||
bool mask; /* CLZ */
|
||||
bool threads; /* IMULD, IMOV_FMA */
|
||||
bool combine; /* BRANCHC */
|
||||
|
|
@ -364,6 +361,12 @@ typedef struct {
|
|||
bool sqrt; /* FREXPM */
|
||||
bool log; /* FREXPM */
|
||||
};
|
||||
|
||||
struct {
|
||||
enum bi_mode mode; /* FLOG_TABLE */
|
||||
enum bi_precision precision; /* FLOG_TABLE */
|
||||
bool divzero; /* FRSQ_APPROX, FRSQ */
|
||||
};
|
||||
};
|
||||
} bi_instr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue