Searched refs:ubo_offset (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_nir_lower_ubo_to_uniform.c | 60 nir_ssa_def *ubo_offset = nir_ssa_for_src(b, intr->src[1], 1); in lower_ubo_to_uniform() local 64 nir_ushr(b, nir_isub(b, ubo_offset, range_base), nir_imm_int(b, 4)); in lower_ubo_to_uniform()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_analyze_ubo_ranges.c | 296 nir_ssa_def *ubo_offset = nir_ssa_for_src(b, instr->src[1], 1); in lower_ubo_load_to_uniform() local 299 handle_partial_const(b, &ubo_offset, &const_offset); in lower_ubo_load_to_uniform() 307 nir_ssa_def *new_offset = ir3_nir_try_propagate_bit_shift(b, ubo_offset, -2); in lower_ubo_load_to_uniform() 313 ? nir_ishl(b, ubo_offset, nir_imm_int(b, shift)) in lower_ubo_load_to_uniform() 314 : nir_ushr(b, ubo_offset, nir_imm_int(b, -shift)); in lower_ubo_load_to_uniform()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_nir_passes.c | 440 nir_ssa_def *ubo_offset = nir_imm_int(b, get_state_var_offset(shader, var) * 4); in lower_instr() local 443 ubo_idx, ubo_offset, in lower_instr()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_blit.c | 724 nir_ssa_def *ubo_offset = nir_iadd(&b, x_offset, y_offset); in v3d_get_sand8_fs() local 726 nir_load_ubo(&b, 1, 32, one, ubo_offset, in v3d_get_sand8_fs()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_descriptor_set.c | 282 layout->sets[set].ubo_offset = ubo_idx; in panvk_CreatePipelineLayout()
|
D | panvk_vX_shader.c | 156 base = binding_layout->ubo_idx + ctx->layout->sets[set].ubo_offset; in lower_vulkan_resource_index()
|
D | panvk_private.h | 425 unsigned ubo_offset; member
|
D | panvk_vX_cs.c | 357 unsigned offset = pipeline->layout->sets[i].ubo_offset; in panvk_per_arch()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs.cpp | 6519 fs_reg ubo_offset = bld.move_to_vgrf(inst->src[1], 1); in lower_lsc_varying_pull_constant_logical_send() local 6540 inst->src[2] = ubo_offset; /* payload */ in lower_lsc_varying_pull_constant_logical_send() 6577 bld.ADD(inst->src[2], ubo_offset, brw_imm_ud(c * 4)); in lower_lsc_varying_pull_constant_logical_send() 6597 fs_reg ubo_offset = bld.vgrf(BRW_REGISTER_TYPE_UD); in lower_varying_pull_constant_logical_send() local 6598 bld.MOV(ubo_offset, inst->src[1]); in lower_varying_pull_constant_logical_send() 6618 inst->src[2] = ubo_offset; /* payload */ in lower_varying_pull_constant_logical_send() 6657 bld.ADD(inst->src[2], ubo_offset, brw_imm_ud(c * 4)); in lower_varying_pull_constant_logical_send()
|