Home
last modified time | relevance | path

Searched refs:const_layout (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.c615 uint32_t sizes[align(v->const_layout.ssbo_size.count, 4)]; in emit_ssbo_sizes()
616 unsigned mask = v->const_layout.ssbo_size.mask; in emit_ssbo_sizes()
620 unsigned off = v->const_layout.ssbo_size.off[index]; in emit_ssbo_sizes()
636 uint32_t dims[align(v->const_layout.image_dims.count, 4)]; in emit_image_dims()
637 unsigned mask = v->const_layout.image_dims.mask; in emit_image_dims()
643 unsigned off = v->const_layout.image_dims.off[index]; in emit_image_dims()
Dir3_compiler_nir.c206 ir3_nir_scan_driver_consts(ctx->s, &so->const_layout); in compile_init()
237 if (so->const_layout.ssbo_size.count > 0) { in compile_init()
238 unsigned cnt = so->const_layout.ssbo_size.count; in compile_init()
243 if (so->const_layout.image_dims.count > 0) { in compile_init()
244 unsigned cnt = so->const_layout.image_dims.count; in compile_init()
1316 ctx->so->const_layout.ssbo_size.off[blk_idx]; in emit_intrinsic_ssbo_size()
1318 debug_assert(ctx->so->const_layout.ssbo_size.mask & (1 << blk_idx)); in emit_intrinsic_ssbo_size()
1637 ctx->so->const_layout.image_dims.off[var->data.driver_location]; in get_image_offset()
1639 debug_assert(ctx->so->const_layout.image_dims.mask & in get_image_offset()
Dir3_shader.h215 struct ir3_driver_const_layout const_layout; member