mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 11:10:27 +01:00
panfrost/midgard: Lower f2b32 to fne
Fixes dEQP-GLES2.functional.shaders.swizzles.vector_swizzles.mediump_bvec2_x_vertex Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
parent
3fb884259b
commit
ae43b8faa7
1 changed files with 7 additions and 0 deletions
|
|
@ -987,6 +987,13 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
|
|||
ALU_CASE(ine32, ine);
|
||||
ALU_CASE(ilt32, ilt);
|
||||
|
||||
/* Likewise, we don't have a dedicated f2b32 instruction, but
|
||||
* we can do a "not equal to 0.0" test. Since an inline
|
||||
* constant vec4(0.0) is the default, we don't need to do any
|
||||
* special lowering */
|
||||
|
||||
ALU_CASE(f2b32, fne);
|
||||
|
||||
ALU_CASE(frcp, frcp);
|
||||
ALU_CASE(frsq, frsqrt);
|
||||
ALU_CASE(fsqrt, fsqrt);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue