Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_viewport.c70 const int max_extent = (ilo_dev_gen(dev) >= ILO_GEN(7)) ? 32768 : 16384; in viewport_matrix_get_gen6_guardband() local
79 if (center_x - half_len < -max_extent) in viewport_matrix_get_gen6_guardband()
80 center_x = -max_extent + half_len; in viewport_matrix_get_gen6_guardband()
81 else if (center_x + half_len > max_extent - 1) in viewport_matrix_get_gen6_guardband()
82 center_x = max_extent - half_len; in viewport_matrix_get_gen6_guardband()
84 if (center_y - half_len < -max_extent) in viewport_matrix_get_gen6_guardband()
85 center_y = -max_extent + half_len; in viewport_matrix_get_gen6_guardband()
86 else if (center_y + half_len > max_extent - 1) in viewport_matrix_get_gen6_guardband()
87 center_y = max_extent - half_len; in viewport_matrix_get_gen6_guardband()
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_blitter_blt.c245 const unsigned max_extent = 32767; /* INT16_MAX */ in tex_clear_region() local
256 if (dst_tex->image.bo_stride > max_extent) in tex_clear_region()
280 if (dst.x + dst_box->width > max_extent || in tex_clear_region()
281 dst.y + dst_box->height > max_extent) in tex_clear_region()
304 const unsigned max_extent = 32767; /* INT16_MAX */ in tex_copy_region() local
317 if (dst_tex->image.bo_stride > max_extent || in tex_copy_region()
318 src_tex->image.bo_stride > max_extent) in tex_copy_region()
388 if (src.x + width > max_extent || src.y + height > max_extent || in tex_copy_region()
389 dst.x + width > max_extent || dst.y + height > max_extent) in tex_copy_region()
/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp359 float max_extent = extents[0]; in get_transform() local
360 if (max_extent < extents[1]) max_extent = extents[1]; in get_transform()
361 if (max_extent < extents[2]) max_extent = extents[2]; in get_transform()
363 scale = 1.0f / max_extent; in get_transform()