Home
last modified time | relevance | path

Searched refs:clip_planes (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/engine/flutter/flow/
Dscene_update_context.cc22 std::vector<fuchsia::ui::gfx::Plane3> clip_planes; in SetEntityNodeClipPlanes() local
23 clip_planes.resize(4); in SetEntityNodeClipPlanes()
26 clip_planes[0].dist = top; in SetEntityNodeClipPlanes()
27 clip_planes[0].dir.x = 0.f; in SetEntityNodeClipPlanes()
28 clip_planes[0].dir.y = 1.f; in SetEntityNodeClipPlanes()
29 clip_planes[0].dir.z = 0.f; in SetEntityNodeClipPlanes()
32 clip_planes[1].dist = -bottom; in SetEntityNodeClipPlanes()
33 clip_planes[1].dir.x = 0.f; in SetEntityNodeClipPlanes()
34 clip_planes[1].dir.y = -1.f; in SetEntityNodeClipPlanes()
35 clip_planes[1].dir.z = 0.f; in SetEntityNodeClipPlanes()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_hw_select.c59 float clip_planes[MAX_CLIP_PLANES][4]; member
356 set_uniform_location(plane, clip_planes[index][0], packed); in get_user_clip_plane()
454 nir_variable *clip_planes = nir_local_variable_create( in create_clip_planes() local
466 nir_store_array_var_imm(b, clip_planes, i, unit_clip_planes[i], 0xf); in create_clip_planes()
470 nir_store_array_var_imm(b, clip_planes, i, p, 0xf); in create_clip_planes()
473 return clip_planes; in create_clip_planes()
493 nir_variable *clip_planes = create_clip_planes(b, num_clip_planes, packed); in build_line_nir_shader() local
497 nir_ssa_def *plane = nir_load_array_var(b, clip_planes, idx); in build_line_nir_shader()
565 nir_variable *clip_planes = create_clip_planes(b, num_clip_planes, packed); in build_planar_primitive_nir_shader() local
570 nir_ssa_def *plane = nir_load_array_var(b, clip_planes, idx); in build_planar_primitive_nir_shader()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c225 unsigned clip_planes = variant->key.clip_plane_enable; in svga_get_clip_plane_constants() local
226 while (clip_planes) { in svga_get_clip_plane_constants()
227 int i = u_bit_scan(&clip_planes); in svga_get_clip_plane_constants()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Shaders.inc359 uniform vec4 clip_planes[kMaxClipPlanes];
539 … float dist = dot(clip_planes[i].xyz, pos_varying.xyz) + clip_planes[i].w * pos_varying.w;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DGLES1Shaders.inc360 uniform vec4 clip_planes[kMaxClipPlanes];
535 … float dist = dot(clip_planes[i].xyz, pos_varying.xyz) + clip_planes[i].w * pos_varying.w;
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_context.h575 struct pipe_clip_state clip_planes; member
Dcrocus_state.c997 struct pipe_clip_state *cp = &ice->state.clip_planes; in gen4_upload_curbe()
3236 memcpy(&ice->state.clip_planes, state, sizeof(*state)); in crocus_set_clip_state()
3568 value = fui(ice->state.clip_planes.ucp[plane][comp]); in upload_sysvals()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_context.h730 struct pipe_clip_state clip_planes; member
Diris_state.c3111 memcpy(&ice->state.clip_planes, state, sizeof(*state)); in iris_set_clip_state()
3481 value = fui(ice->state.clip_planes.ucp[plane][comp]); in upload_sysvals()