search for: cmp_op

Displaying 2 results from an estimated 2 matches for "cmp_op".

2017 Jun 11
0
[RFC 4/9] tgsi: populate precise
...allium/state_trackers/nine/nine_shader.c @@ -1879,7 +1879,7 @@ DECL_SPECIAL(IFC) struct ureg_dst tmp = ureg_writemask(tx_scratch(tx), TGSI_WRITEMASK_X); src[0] = tx_src_param(tx, &tx->insn.src[0]); src[1] = tx_src_param(tx, &tx->insn.src[1]); - ureg_insn(tx->ureg, cmp_op, &tmp, 1, src, 2); + ureg_insn(tx->ureg, cmp_op, &tmp, 1, src, 2, 0); ureg_IF(tx->ureg, ureg_scalar(ureg_src(tmp), TGSI_SWIZZLE_X), tx_cond(tx)); return D3D_OK; } @@ -1897,7 +1897,7 @@ DECL_SPECIAL(BREAKC) struct ureg_dst tmp = ureg_writemask(tx_scratch(tx), TGSI_WR...
2017 Jun 11
14
[RFC 0/9] Add precise/invariant semantics to TGSI
Running Tomb Raider on Nouveau I found some flicker caused by ignoring precise modifiers on variables inside Nouveau. This series add precise/invariant handling to TGSI, which can be then used by drivers to disable certain unsafe optimisations which may otherwise alter calculations, which depend on having the same result across shaders. This series fixes this bug in Tomb Raider and one CTS test