Home
last modified time | relevance | path

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

12

/external/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()
/external/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()
/external/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()
1277 assert(rtex->surface.is_linear); in r600_texture_invalidate_storage()
1337 if (!rtex->surface.is_linear) in r600_texture_transfer_map()
1791 if (tex->surface.is_linear) { in evergreen_do_fast_color_clear()
Dr600_buffer_common.c161 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in r600_init_resource_fields()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c325 if (!ssrc->surface.is_linear && !sdst->surface.is_linear && rand() & 1) { in si_test_dma()
351 if (ssrc->surface.is_linear && !sdst->surface.is_linear && rand() % 4 == 0) { in si_test_dma()
Dcik_sdma.c96 if (ssrc->surface.is_linear && sdst->surface.is_linear) { in si_sdma_v4_copy_texture()
134 if (ssrc->surface.is_linear != sdst->surface.is_linear) { in si_sdma_v4_copy_texture()
135 struct si_texture *tiled = ssrc->surface.is_linear ? sdst : ssrc; in si_sdma_v4_copy_texture()
Dsi_compute_blit.c433 bool is_linear = ((struct si_texture*)src)->surface.is_linear || in si_compute_copy_image() local
434 ((struct si_texture*)dst)->surface.is_linear; in si_compute_copy_image()
583 if (is_linear) { in si_compute_copy_image()
Dsi_blit.c1057 info->src.box.height == dst_height && info->src.box.depth == 1 && !dst->surface.is_linear && in do_hardware_msaa_resolve()
1118 assert(!stmp->surface.is_linear); in do_hardware_msaa_resolve()
1152 if (dst->surface.is_linear && util_can_blit_via_copy_region(info, false)) { in si_blit()
Dsi_texture.c457 if (tex->surface.is_linear) in si_reallocate_texture_inplace()
1616 assert(tex->surface.is_linear); in si_texture_invalidate_storage()
1671 if (!tex->surface.is_linear || (tex->buffer.flags & RADEON_FLAG_ENCRYPTED)) in si_texture_transfer_map()
2318 if (bind & PIPE_BIND_LINEAR && !tex->surface.is_linear) in si_check_resource_capability()
Dsi_clear.c419 if (tex->surface.is_linear) { in si_do_fast_color_clear()
Dsi_buffer.c157 if ((res->b.b.target != PIPE_BUFFER && !tex->surface.is_linear) || in si_init_resource_fields()
/external/mesa3d/src/amd/compiler/
Daco_spill.cpp121 int32_t get_dominator(int idx_a, int idx_b, Program* program, bool is_linear) in get_dominator() argument
128 if (is_linear) { in get_dominator()
173 if (op.regClass().type() == RegType::vgpr && op.regClass().is_linear()) in next_uses_per_block()
209 std::vector<unsigned>& preds = temp.is_linear() ? block->linear_preds : block->logical_preds; in next_uses_per_block()
216 …et_dominator(dom, ctx.next_use_distances_end[pred_idx][temp].first, ctx.program, temp.is_linear()); in next_uses_per_block()
346 if (op.regClass().type() == RegType::vgpr && op.regClass().is_linear()) in local_next_uses()
567 …std::vector<unsigned>& preds = pair.first.is_linear() ? block->linear_preds : block->logical_preds; in init_live_in_vars()
740 if (!live.first.is_linear()) in add_coupling_code()
772 if (live.first.is_linear()) in add_coupling_code()
884 … std::vector<unsigned> preds = pair.first.is_linear() ? block->linear_preds : block->logical_preds; in add_coupling_code()
[all …]
Daco_live_var_analysis.cpp212 std::vector<unsigned>& preds = rc.is_linear() ? block->linear_preds : block->logical_preds; in process_live_temps_per_block()
Daco_ir.h297 constexpr bool is_linear() const { return rc <= RC::s16 || rc & (1 << 6); } in is_linear() function
353 constexpr bool is_linear() const noexcept { return regClass().is_linear(); } in is_linear() function
Daco_register_allocation.cpp1585 std::vector<unsigned>& preds = val.is_linear() ? block->linear_preds : block->logical_preds; in handle_live_in()
1599 aco_opcode opcode = val.is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in handle_live_in()
1630 aco_opcode opcode = val.is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in handle_live_in()
1967 … aco_opcode opcode = pc.first.getTemp().is_linear() ? aco_opcode::p_linear_phi : aco_opcode::p_phi; in register_allocation()
1968 …std::vector<unsigned>& preds = pc.first.getTemp().is_linear() ? block.linear_preds : block.logical… in register_allocation()
2417 …std::vector<unsigned> preds = phi->definitions[0].getTemp().is_linear() ? succ.linear_preds : succ… in register_allocation()
Daco_insert_waitcnt.cpp715 wait_entry new_entry(event, imm, !rc.is_linear(), wait_on_read); in insert_wait_entry()
/external/mesa3d/src/panfrost/lib/
Dpan_texture.c337 bool is_linear = modifier == DRM_FORMAT_MOD_LINEAR; in panfrost_emit_texture_payload_v7() local
352 is_linear ? in panfrost_emit_texture_payload_v7()
/external/mesa3d/src/amd/common/
Dac_surface.h202 unsigned is_linear : 1; member
Dac_surface.c778 if (surf->flags & RADEON_SURF_Z_OR_SBUFFER || surf->is_linear || in ac_compute_cmask()
1209 surf->is_linear = surf->u.legacy.level[0].mode == RADEON_SURF_MODE_LINEAR_ALIGNED; in gfx6_compute_surface()
1210 surf->is_displayable = surf->is_linear || surf->micro_tile_mode == RADEON_MICRO_MODE_DISPLAY || in gfx6_compute_surface()
1977 surf->is_linear = surf->u.gfx9.surf.swizzle_mode == ADDR_SW_LINEAR; in gfx9_compute_surface()
2013 AddrSurfInfoIn.flags.color && !surf->is_linear && in gfx9_compute_surface()
/external/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()
/external/rust/crates/criterion/src/analysis/
Dmod.rs152 if sampling_mode.is_linear() { in common()
/external/vulkan-validation-layers/layers/
Dcore_validation.h790 VkMemoryRequirements mem_reqs, bool is_linear);
792 VkMemoryRequirements memRequirements, bool is_linear);
1047 … VkDeviceSize memoryOffset, const VkMemoryRequirements& memRequirements, bool is_linear,
1050 … const VkMemoryRequirements& mem_reqs, bool is_linear, const char* api_name) const;
/external/rust/crates/criterion/src/
Dlib.rs1517 fn is_linear(&self) -> bool { in is_linear() method
/external/mesa3d/src/amd/vulkan/
Dradv_image.c1868 uint64_t level_offset = surface->is_linear ? surface->u.gfx9.offset[level] : 0; in radv_GetImageSubresourceLayout()
1880 uint32_t pitch = surface->is_linear ? surface->u.gfx9.pitch[level] : surface->u.gfx9.surf_pitch; in radv_GetImageSubresourceLayout()

12