Home
last modified time | relevance | path

Searched refs:is_linear (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/tests/
DGrPathUtilsTest.cpp13 static bool is_linear(SkPoint p0, SkPoint p1, SkPoint p2) { in is_linear() function
17 static bool is_linear(const SkPoint p[4]) { in is_linear() function
18 return is_linear(p[0],p[1],p[2]) && is_linear(p[0],p[2],p[3]) && is_linear(p[1],p[2],p[3]); in is_linear()
50 } else if (!is_linear(p)) { in check_cubic_convex_180()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_srgb.c102 LLVMValueRef srcf, part_lin, part_pow, is_linear, lin_const, lin_thresh; in lp_build_srgb_to_linear() local
143 is_linear = lp_build_compare(gallivm, f32_type, PIPE_FUNC_LEQUAL, srcf, lin_thresh); in lp_build_srgb_to_linear()
144 return lp_build_select(&f32_bld, is_linear, part_lin, part_pow); in lp_build_srgb_to_linear()
168 LLVMValueRef lin_thresh, lin, lin_const, is_linear, tmp, pow_final; in lp_build_linear_to_srgb() local
302 is_linear = lp_build_compare(gallivm, src_type, PIPE_FUNC_LEQUAL, src, lin_thresh); in lp_build_linear_to_srgb()
303 tmp = lp_build_select(&f32_bld, is_linear, lin, pow_final); in lp_build_linear_to_srgb()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c324 if (!rsrc->surface.is_linear && in r600_test_dma()
325 !rdst->surface.is_linear && in r600_test_dma()
352 if (rsrc->surface.is_linear && in r600_test_dma()
353 !rdst->surface.is_linear && in r600_test_dma()
Dr600_texture.c375 if (rtex->surface.is_linear) in r600_reallocate_texture_inplace()
1269 assert(rtex->surface.is_linear); in r600_texture_invalidate_storage()
1329 if (!rtex->surface.is_linear) in r600_texture_transfer_map()
1774 if (tex->surface.is_linear) { in evergreen_do_fast_color_clear()
Dr600_buffer_common.c139 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in r600_init_resource_fields()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c127 if (ssrc->surface.is_linear && sdst->surface.is_linear) { in si_sdma_v4_v5_copy_texture()
153 if (ssrc->surface.is_linear != sdst->surface.is_linear) { in si_sdma_v4_v5_copy_texture()
154 struct si_texture *tiled = ssrc->surface.is_linear ? sdst : ssrc; in si_sdma_v4_v5_copy_texture()
Dsi_compute_blit.c634 bool is_linear = ssrc->surface.is_linear || sdst->surface.is_linear; in si_compute_copy_image() local
752 } else if (is_linear) { in si_compute_copy_image()
Dsi_texture.c137 if (tex->surface.is_linear) { in si_texture_get_offset()
441 if (tex->surface.is_linear) in si_reallocate_texture_inplace()
608 uint64_t level_offset = tex->surface.is_linear ? tex->surface.u.gfx9.offset[level] : 0; in si_resource_get_param()
1809 assert(tex->surface.is_linear); in si_texture_invalidate_storage()
1872 if (!tex->surface.is_linear || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED) || in si_texture_transfer_map()
2279 if (bind & PIPE_BIND_LINEAR && !tex->surface.is_linear) in si_check_resource_capability()
Dsi_blit.c1075 info->src.box.height == dst_height && info->src.box.depth == 1 && !dst->surface.is_linear && in si_msaa_resolve_blit_via_CB()
1146 assert(!stmp->surface.is_linear); in si_msaa_resolve_blit_via_CB()
1169 (info->dst.resource->bind & PIPE_BIND_PRIME_BLIT_DST) && sdst->surface.is_linear && in si_blit()
Dsi_buffer.c97 if ((res->b.b.target != PIPE_BUFFER && !tex->surface.is_linear) || in si_init_resource_fields()
Dsi_clear.c712 if (tex->surface.is_linear) { in si_fast_clear()
/third_party/mesa3d/src/amd/compiler/
Daco_spill.cpp149 get_dominator(int idx_a, int idx_b, Program* program, bool is_linear) in get_dominator() argument
156 if (is_linear) { in get_dominator()
205 if (op.regClass().type() == RegType::vgpr && op.regClass().is_linear()) in next_uses_per_block()
252 std::vector<unsigned>& preds = temp.is_linear() ? block->linear_preds : block->logical_preds; in next_uses_per_block()
262 dom = get_dominator(dom, entry_distance.first, ctx.program, temp.is_linear()); in next_uses_per_block()
415 if (op.regClass().type() == RegType::vgpr && op.regClass().is_linear()) in update_local_next_uses()
661 pair.first.is_linear() ? block->linear_preds : block->logical_preds; in init_live_in_vars()
776 if (!live.first.is_linear()) in add_coupling_code()
810 if (live.first.is_linear()) in add_coupling_code()
937 pair.first.is_linear() ? block->linear_preds : block->logical_preds; in add_coupling_code()
[all …]
Daco_live_var_analysis.cpp232 std::vector<unsigned>& preds = rc.is_linear() ? block->linear_preds : block->logical_preds; in process_live_temps_per_block()
Daco_register_allocation.cpp1876 if (def.getTemp().regClass().is_linear()) in handle_pseudo()
1883 if (op.isTemp() && op.getTemp().regClass().is_linear()) in handle_pseudo()
2033 pc.first.getTemp().is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in get_reg_phi()
2035 pc.first.getTemp().is_linear() ? block.linear_preds : block.logical_preds; in get_reg_phi()
2153 std::vector<unsigned>& preds = val.is_linear() ? block->linear_preds : block->logical_preds; in handle_live_in()
2180 aco_opcode opcode = val.is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in handle_live_in()
Daco_ir.h353 constexpr bool is_linear() const { return rc <= RC::s16 || is_linear_vgpr(); } in is_linear() function
417 constexpr bool is_linear() const noexcept { return regClass().is_linear(); } in is_linear() function
Daco_insert_waitcnt.cpp596 wait_entry new_entry(event, imm, !rc.is_linear(), wait_on_read); in insert_wait_entry()
Daco_print_ir.cpp96 } else if (rc.is_linear()) { in print_reg_class()
Daco_validate.cpp471 check(!op.isTemp() || op.getTemp().is_linear(), "Wrong Operand type", in validate_ir()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c186 surf_ws->is_linear = surf_drm->level[0].mode <= RADEON_SURF_MODE_LINEAR_ALIGNED; in surf_drm_to_winsys()
218 surf_ws->is_displayable = surf_ws->is_linear || in surf_drm_to_winsys()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_debug.c118 is_linear( const struct lp_rast_state *state, in is_linear() function
384 boolean linear = is_linear(tile->state, block, k); in do_debug_bin()
/third_party/mesa3d/src/amd/vulkan/
Dradv_sdma_copy_image.c88 if (image->planes[0].surface.is_linear) { in radv_sdma_v4_v5_copy_image_to_buffer()
Dradv_image.c2427 uint64_t level_offset = surface->is_linear ? surface->u.gfx9.offset[level] : 0; in radv_GetImageSubresourceLayout()
2442 surface->is_linear ? surface->u.gfx9.pitch[level] : surface->u.gfx9.surf_pitch; in radv_GetImageSubresourceLayout()
/third_party/mesa3d/src/amd/common/
Dac_surface.h319 uint8_t is_linear : 1; member
Dac_surface.c960 if (surf->flags & RADEON_SURF_Z_OR_SBUFFER || surf->is_linear || in ac_compute_cmask()
1396 surf->is_linear = surf->u.legacy.level[0].mode == RADEON_SURF_MODE_LINEAR_ALIGNED; in gfx6_compute_surface()
1397 surf->is_displayable = surf->is_linear || surf->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY || in gfx6_compute_surface()
2366 surf->is_linear = surf->u.gfx9.swizzle_mode == ADDR_SW_LINEAR; in gfx9_compute_surface()
2403 AddrSurfInfoIn.flags.color && !surf->is_linear && in gfx9_compute_surface()
2997 return (surf->is_linear ? surf->u.gfx9.pitch[level] : surf->u.gfx9.surf_pitch) * surf->bpe; in ac_surface_get_plane_stride()
/third_party/mesa3d/src/intel/compiler/
Dbrw_eu_validate.c628 is_linear(unsigned vstride, unsigned width, unsigned hstride) in is_linear() function
2000 (!is_linear(vstride, width, hstride) || in special_requirements_for_handling_double_precision_data_types()

12