Home
last modified time | relevance | path

Searched refs:image_dims (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir.c225 if (layout->image_dims.mask & (1 << idx)) in ir3_nir_scan_driver_consts()
227 layout->image_dims.mask |= (1 << idx); in ir3_nir_scan_driver_consts()
229 layout->image_dims.count; in ir3_nir_scan_driver_consts()
230 layout->image_dims.count += 3; /* three const per */ in ir3_nir_scan_driver_consts()
Dir3_shader.h95 } image_dims; member
317 unsigned image_dims; member
Dir3_shader.c634 uint32_t offset = v->constbase.image_dims; in emit_image_dims()
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.c243 if (so->const_layout.image_dims.count > 0) { in compile_init()
244 unsigned cnt = so->const_layout.image_dims.count; in compile_init()
245 so->constbase.image_dims = constoff; in compile_init()
1636 unsigned cb = regid(ctx->so->constbase.image_dims, 0) + in get_image_offset()
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()
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dinception_preprocessing.cc35 auto image_dims = ops::Slice(s, ops::Shape(s, decoded_image), {0}, {2}); in CentralCropImage() local
36 auto height_width = ops::Cast(s, image_dims, DT_DOUBLE); in CentralCropImage()
41 auto bbox_size = ops::Sub(s, image_dims, ops::Mul(s, bbox_begin, 2)); in CentralCropImage()