mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
v3d: Drop unused vir_SAT() operation.
We lower saturates in NIR.
This commit is contained in:
parent
8dfc6ee317
commit
a1beb333d8
1 changed files with 0 additions and 8 deletions
|
|
@ -244,14 +244,6 @@ ntq_get_alu_src(struct v3d_compile *c, nir_alu_instr *instr,
|
|||
return r;
|
||||
};
|
||||
|
||||
static inline struct qreg
|
||||
vir_SAT(struct v3d_compile *c, struct qreg val)
|
||||
{
|
||||
return vir_FMAX(c,
|
||||
vir_FMIN(c, val, vir_uniform_f(c, 1.0)),
|
||||
vir_uniform_f(c, 0.0));
|
||||
}
|
||||
|
||||
static struct qreg
|
||||
ntq_minify(struct v3d_compile *c, struct qreg size, struct qreg level)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue