Home
last modified time | relevance | path

Searched refs:first_ubo (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c475 uint32_t first_ubo; member
485 bo.first_ubo = ffs(zs->ubos_used & ~BITFIELD_BIT(0)) - 2; in get_bo_vars()
1337 if (!ssbo && bo->first_ubo && var->data.driver_location) in remove_bo_access_instr()
1338 idx = nir_iadd_imm(b, idx, -bo->first_ubo); in remove_bo_access_instr()
2277 unsigned first_ubo = ffs(ubos_used) - 2; in unbreak_bos() local
2278 assert(first_ubo < PIPE_MAX_CONSTANT_BUFFERS); in unbreak_bos()
2279 num_ubos -= first_ubo; in unbreak_bos()
2286 var->data.driver_location = first_ubo + !!shader->info.first_ubo_is_default_ubo; in unbreak_bos()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c111 uint32_t first_ubo; member
1011 c->first_ubo = ~0; in ntt_setup_uniforms()
1020 c->first_ubo = MIN2(c->first_ubo, ubo); in ntt_setup_uniforms()
1813 ntt_UADD(c, addr_temp, ntt_get_src(c, instr->src[0]), ureg_imm1i(c->ureg, -c->first_ubo)); in ntt_emit_load_ubo()
1816 c->first_ubo); in ntt_emit_load_ubo()