search for: get_temp

Displaying 3 results from an estimated 3 matches for "get_temp".

Did you mean: get_smp
2017 Jun 11
0
[RFC 3/9] st/glsl_to_tgsi: handle precise modifier
...RK); break; case ir_loop_jump::jump_continue: - emit_asm(NULL, TGSI_OPCODE_CONT); + emit_asm((ir_instruction *)NULL, TGSI_OPCODE_CONT); break; } } @@ -2703,7 +2749,7 @@ glsl_to_tgsi_visitor::visit(ir_dereference_variable *ir) st_dst_reg dst = st_dst_reg(get_temp(var->type)); st_src_reg src = st_src_reg(PROGRAM_OUTPUT, decl->mesa_index, var->type, component, decl->array_id); - emit_asm(NULL, TGSI_OPCODE_FBFETCH, dst, src); + emit_asm((ir_instruction *)NULL, TGSI_OPCODE_F...
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
2017 Jun 11
0
[RFC 4/9] tgsi: populate precise
...- ureg_insn(t->ureg, TGSI_OPCODE_MUL, &arg, 1, modsrc, 2); + ureg_insn(t->ureg, TGSI_OPCODE_MUL, &arg, 1, modsrc, 2, 0); } return ureg_src(arg); } @@ -217,25 +217,25 @@ emit_special_inst(struct st_translate *t, const struct instruction_desc *desc, tmp[0] = get_temp(t, MAX_NUM_FRAGMENT_REGISTERS_ATI + 2); /* re-purpose a3 */ src[0] = ureg_imm1f(t->ureg, 0.5f); src[1] = ureg_negate(args[2]); - ureg_insn(t->ureg, TGSI_OPCODE_ADD, tmp, 1, src, 2); + ureg_insn(t->ureg, TGSI_OPCODE_ADD, tmp, 1, src, 2, 0); src[0] = ureg_src(t...