search for: temp_dst

Displaying 4 results from an estimated 4 matches for "temp_dst".

2017 Jun 11
0
[RFC 3/9] st/glsl_to_tgsi: handle precise modifier
...turate; inst->dead_mask = inst->dst[0].writemask; } else { @@ -4072,16 +4122,16 @@ glsl_to_tgsi_visitor::calc_deref_offsets(ir_dereference *tail, deref_arr->array_index->accept(this); if (*array_elements != 1) - emit_asm(NULL, TGSI_OPCODE_MUL, temp_dst, this->result, st_src_reg_for_int(*array_elements)); + emit_asm((ir_instruction *)NULL, TGSI_OPCODE_MUL, temp_dst, this->result, st_src_reg_for_int(*array_elements)); else - emit_asm(NULL, TGSI_OPCODE_MOV, temp_dst, this->result); + emit_asm((ir_i...
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
2014 Aug 20
2
[LLVMdev] LLVM CreateStructGEP type assert error
...x)>=(min) && (x)<=(max)) __kernel void hotspot( int iteration, //number of iteration global float *power, //power input global float *temp_src, //temperature input/output global float *temp_dst, //temperature input/output int grid_cols, //Col of grid int grid_rows, //Row of grid int border_cols, // border offset int border_rows, // border offset float Cap, //Capaci...
2014 Aug 20
2
[LLVMdev] LLVM CreateStructGEP type assert error
If I do M.dump(), at the top of the output I have: %struct.RB = type opaque Further down I have: @.str18 = internal addrspace(2) constant [13 x i8] c"RB_t*\00" However nowhere does it dump the full struct type when I call "M.dump()". I have it explicitly defined above the kernel in the kernel file, but LLVM doesn't seem to pick it up. Opaque is a placeholder until it