Searched refs:ubo_offset (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_analyze_ubo_ranges.c | 294 nir_ssa_def *ubo_offset = nir_ssa_for_src(b, instr->src[1], 1); in lower_ubo_load_to_uniform() local 297 handle_partial_const(b, &ubo_offset, &const_offset); in lower_ubo_load_to_uniform() 305 nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, ubo_offset, -2); in lower_ubo_load_to_uniform() 311 nir_ishl(b, ubo_offset, nir_imm_int(b, shift)) : in lower_ubo_load_to_uniform() 312 nir_ushr(b, ubo_offset, nir_imm_int(b, -shift)); in lower_ubo_load_to_uniform()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_uniforms_to_ubo.c | 61 nir_ssa_def *ubo_offset = in lower_instr() local 70 load->src[1] = nir_src_for_ssa(ubo_offset); in lower_instr()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs.cpp | 5926 fs_reg ubo_offset = bld.vgrf(BRW_REGISTER_TYPE_UD); in lower_varying_pull_constant_logical_send() local 5927 bld.MOV(ubo_offset, inst->src[1]); in lower_varying_pull_constant_logical_send() 5947 inst->src[2] = ubo_offset; /* payload */ in lower_varying_pull_constant_logical_send() 5986 bld.ADD(inst->src[2], ubo_offset, brw_imm_ud(c * 4)); in lower_varying_pull_constant_logical_send()
|