Home
last modified time | relevance | path

Searched refs:tgsi_frontface (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c508 nir_ssa_def *tgsi_frontface[4]; in ttn_emulate_tgsi_front_face() local
517 tgsi_frontface[0] = nir_bcsel(&c->build, in ttn_emulate_tgsi_front_face()
521 tgsi_frontface[1] = nir_imm_int(&c->build, 0); in ttn_emulate_tgsi_front_face()
522 tgsi_frontface[2] = nir_imm_int(&c->build, 0); in ttn_emulate_tgsi_front_face()
523 tgsi_frontface[3] = nir_imm_int(&c->build, 1); in ttn_emulate_tgsi_front_face()
532 tgsi_frontface[0] = nir_bcsel(&c->build, in ttn_emulate_tgsi_front_face()
536 tgsi_frontface[1] = nir_imm_float(&c->build, 0.0); in ttn_emulate_tgsi_front_face()
537 tgsi_frontface[2] = nir_imm_float(&c->build, 0.0); in ttn_emulate_tgsi_front_face()
538 tgsi_frontface[3] = nir_imm_float(&c->build, 1.0); in ttn_emulate_tgsi_front_face()
541 return nir_vec(&c->build, tgsi_frontface, 4); in ttn_emulate_tgsi_front_face()