Home
last modified time | relevance | path

Searched refs:cull (Results 1 – 25 of 157) sorted by relevance

1234567

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_cull.c108 struct cull_stage *cull = cull_stage(stage); in cull_first_tri() local
110 cull->cull_face = stage->draw->rasterizer->cull_face; in cull_first_tri()
111 cull->front_ccw = stage->draw->rasterizer->front_ccw; in cull_first_tri()
143 struct cull_stage *cull = CALLOC_STRUCT(cull_stage); in draw_cull_stage() local
144 if (!cull) in draw_cull_stage()
147 cull->stage.draw = draw; in draw_cull_stage()
148 cull->stage.name = "cull"; in draw_cull_stage()
149 cull->stage.next = NULL; in draw_cull_stage()
150 cull->stage.point = draw_pipe_passthrough_point; in draw_cull_stage()
151 cull->stage.line = draw_pipe_passthrough_line; in draw_cull_stage()
[all …]
/third_party/glslang/Test/baseResults/
Dhlsl.clipdistance-1.vert.out8 0:4 'cull' ( out float)
22 0:7 'cull' ( out float)
31 0:? 'cull' ( temp float)
45 0:? 'cull' ( out 1-element array of float CullDistance)
48 0:? 'cull' ( temp float)
52 0:? 'cull' ( out 1-element array of float CullDistance)
64 0:4 'cull' ( out float)
78 0:7 'cull' ( out float)
87 0:? 'cull' ( temp float)
101 0:? 'cull' ( out 1-element array of float CullDistance)
[all …]
Dhlsl.clipdistance-3.vert.out8 0:4 'cull' ( out 2-element array of float)
33 0:9 'cull' ( out 2-element array of float)
40 0:10 'cull' ( out 2-element array of float)
51 0:? 'cull' ( temp 2-element array of float)
61 0:? 'cull' ( out 2-element array of float CullDistance)
62 0:? 'cull' ( temp 2-element array of float)
66 0:? 'cull' ( out 2-element array of float CullDistance)
78 0:4 'cull' ( out 2-element array of float)
103 0:9 'cull' ( out 2-element array of float)
110 0:10 'cull' ( out 2-element array of float)
[all …]
Dhlsl.clipdistance-1.frag.out9 0:4 'cull' ( in float)
16 0:5 'cull' ( in float)
32 0:? 'cull' ( temp float)
34 0:? 'cull' ( in 1-element array of float CullDistance)
42 0:? 'cull' ( temp float)
47 0:? 'cull' ( in 1-element array of float CullDistance)
60 0:4 'cull' ( in float)
67 0:5 'cull' ( in float)
83 0:? 'cull' ( temp float)
85 0:? 'cull' ( in 1-element array of float CullDistance)
[all …]
Dhlsl.clipdistance-3.frag.out9 0:4 'cull' ( in 2-element array of float)
20 0:5 'cull' ( in 2-element array of float)
35 0:? 'cull' ( temp 2-element array of float)
36 0:? 'cull' ( in 2-element array of float CullDistance)
42 0:? 'cull' ( temp 2-element array of float)
47 0:? 'cull' ( in 2-element array of float CullDistance)
60 0:4 'cull' ( in 2-element array of float)
71 0:5 'cull' ( in 2-element array of float)
86 0:? 'cull' ( temp 2-element array of float)
87 0:? 'cull' ( in 2-element array of float CullDistance)
[all …]
Dhlsl.clipdistance-2.vert.out8 0:4 'cull' ( out 2-element array of 2-component vector of float)
60 0:11 'cull' ( out 2-element array of 2-component vector of float)
70 0:12 'cull' ( out 2-element array of 2-component vector of float)
80 0:13 'cull' ( out 2-element array of 2-component vector of float)
90 0:14 'cull' ( out 2-element array of 2-component vector of float)
103 0:? 'cull' ( temp 2-element array of 2-component vector of float)
159 0:? 'cull' ( out 4-element array of float CullDistance)
164 0:? 'cull' ( temp 2-element array of 2-component vector of float)
171 0:? 'cull' ( out 4-element array of float CullDistance)
176 0:? 'cull' ( temp 2-element array of 2-component vector of float)
[all …]
Dhlsl.clipdistance-2.frag.out9 0:4 'cull' ( in 2-element array of 2-component vector of float)
24 0:6 'cull' ( in 2-element array of 2-component vector of float)
88 0:? 'cull' ( temp 2-element array of 2-component vector of float)
94 0:? 'cull' ( in 4-element array of float CullDistance)
100 0:? 'cull' ( temp 2-element array of 2-component vector of float)
106 0:? 'cull' ( in 4-element array of float CullDistance)
112 0:? 'cull' ( temp 2-element array of 2-component vector of float)
118 0:? 'cull' ( in 4-element array of float CullDistance)
124 0:? 'cull' ( temp 2-element array of 2-component vector of float)
130 0:? 'cull' ( in 4-element array of float CullDistance)
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_clip_cull_distance_arrays.c69 nir_variable *cull = NULL; in combine_clip_cull() local
77 cull = var; in combine_clip_cull()
80 if (!cull && !clip) { in combine_clip_cull()
92 if (!cull && clip) { in combine_clip_cull()
105 const unsigned cull_array_size = get_unwrapped_array_length(nir, cull); in combine_clip_cull()
117 if (cull) { in combine_clip_cull()
118 assert(cull->data.compact); in combine_clip_cull()
119 cull->data.how_declared = nir_var_hidden; in combine_clip_cull()
120 cull->data.location = VARYING_SLOT_CLIP_DIST0 + clip_array_size / 4; in combine_clip_cull()
121 cull->data.location_frac = clip_array_size % 4; in combine_clip_cull()
/third_party/glslang/Test/
Dhlsl.clipdistance-2.vert3 out float2 cull[2] : SV_CullDistance) // array of vector float
11 cull[0].x = 0.525f;
12 cull[0].y = 0.625f;
13 cull[1].x = 0.725f;
14 cull[1].y = 0.825f;
Dhlsl.clipdistance-3.vert3 out float cull[2] : SV_CullDistance) // array of scalar float
9 cull[0] = 0.525f;
10 cull[1] = 0.625f;
Dhlsl.clipdistance-1.frag3 in float cull : SV_CullDistance) : SV_Target0
5 return pos + clip + cull;
Dhlsl.clipdistance-1.vert3 out float cull : SV_CullDistance) // scalar float
7 cull = 0.51f;
Dhlsl.clipdistance-2.frag3 in float2 cull[2] : SV_CullDistance) : SV_Target0 // array of vector float
6 return pos + clip[0][0] + cull[0][0];
Dhlsl.clipdistance-3.frag3 in float cull[2] : SV_CullDistance) : SV_Target0 // array of scalar float
5 return pos + clip[0] + cull[0];
/third_party/openGLES/extensions/ARB/
DARB_cull_distance.txt104 clip distance(s) and cull distance(s), respectively, used in the culling
141 * Structure member gl_CullDistance[] holds the per-vertex array of cull
150 distance(s) and cull distance(s), respectively, used in the clipping
159 Primitives are culled against the cull volume and then clipped against the
169 The cull volume is the intersection of up to MAX_CULL_DISTANCES client-
170 defined half-spaces (if no client-defined cull half-spaces are enabled,
171 culling against the cull volume is skipped). The number of enabled cull
176 A shader may write a single cull distance for each enabled cull half-space
177 to elements of the gl_CullDistance[] array. If the cull distance for any
178 enabled cull half-space is negative for all of the vertices of the
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_cull_distance.txt94 clip distance(s) and cull distance(s), respectively, used in the culling
131 * Structure member gl_CullDistance[] holds the per-vertex array of cull
140 distance(s) and cull distance(s), respectively, used in the clipping
149 Primitives are culled against the cull volume and then clipped against the
159 The cull volume is the intersection of up to MAX_CULL_DISTANCES client-
160 defined half-spaces (if no client-defined cull half-spaces are enabled,
161 culling against the cull volume is skipped). The number of enabled cull
166 A shader may write a single cull distance for each enabled cull half-space
167 to elements of the gl_CullDistance[] array. If the cull distance for any
168 enabled cull half-space is negative for all of the vertices of the
[all …]
/third_party/flutter/skia/tests/
DPictureBBHTest.cpp101 SkRect cull = {-200,-200,+200,+200}; in DEF_TEST() local
104 auto canvas = recorder.beginRecording(cull, &factory); in DEF_TEST()
106 canvas->clipRect(cull); in DEF_TEST()
116 auto canvas = recorder.beginRecording(cull, &factory); in DEF_TEST()
117 canvas->clipRect(cull); in DEF_TEST()
DDashPathEffectTest.cpp43 SkRect cull = SkRect::MakeWH(1.0f, 1.0f); in DEF_TEST() local
84 bool actualResult = dash->asPoints(&results, src, rec, mats[i], &cull); in DEF_TEST()
133 SkRect cull = SkRect::MakeXYWH(43,236,57,149); in DEF_TEST() local
135 path.addRect(cull); in DEF_TEST()
141 paint.getFillPath(path, &path2, &cull); in DEF_TEST()
/third_party/skia/tests/
DPictureBBHTest.cpp100 SkRect cull = {-200,-200,+200,+200}; in DEF_TEST() local
104 auto canvas = recorder.beginRecording(cull, bbh); in DEF_TEST()
106 canvas->clipRect(cull); in DEF_TEST()
116 auto canvas = recorder.beginRecording(cull, &factory); in DEF_TEST()
117 canvas->clipRect(cull); in DEF_TEST()
DDashPathEffectTest.cpp44 SkRect cull = SkRect::MakeWH(1.0f, 1.0f); in DEF_TEST() local
85 bool actualResult = as_PEB(dash)->asPoints(&results, src, rec, mats[i], &cull); in DEF_TEST()
134 SkRect cull = SkRect::MakeXYWH(43,236,57,149); in DEF_TEST() local
136 path.addRect(cull); in DEF_TEST()
142 paint.getFillPath(path, &path2, &cull); in DEF_TEST()
/third_party/flutter/skia/src/core/
DSkMiniRecorder.cpp50 SkMiniPicture(const SkRect* cull, T* op) : fCull(cull ? *cull : bounds(*op)) { in SkMiniPicture() argument
98 sk_sp<SkPicture> SkMiniRecorder::detachAsPicture(const SkRect* cull) { in detachAsPicture() argument
102 return sk_make_sp<SkMiniPicture<Type>>(cull, reinterpret_cast<Type*>(fBuffer.get())) in detachAsPicture()
/third_party/skia/src/core/
DSkMiniRecorder.cpp50 SkMiniPicture(const SkRect* cull, T&& op) in SkMiniPicture() argument
51 : fCull(cull ? *cull : bounds(op)) in SkMiniPicture()
98 sk_sp<SkPicture> SkMiniRecorder::detachAsPicture(const SkRect* cull) { in detachAsPicture() argument
102 auto pic = sk_make_sp<SkMiniPicture<T>>(cull, std::move(*op)); \ in detachAsPicture()
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_clip_cull_distance.txt55 This extension adds support for hardware clip planes and cull
102 respectively hold the the clip distance and cull distance used in the
156 * Structure member gl_CullDistance[] holds the per-vertex array of cull
164 distance and cull distance, respectively, used in the clipping stage, as
173 "Primitives are culled against the cull volume and then clipped to the
186 The cull volume is the intersection of up to the value of
188 cull half-spaces are enabled, culling against the cull volume is skipped).
189 The number of enabled cull half-spaces is determined by the explicit or
193 A shader may write a single cull distance for each enabled cull half-space
194 to elements of the gl_CullDistance[] array. If the cull distance for any
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_clip_cull_distance.txt55 This extension adds support for hardware clip planes and cull
102 respectively hold the the clip distance and cull distance used in the
156 * Structure member gl_CullDistance[] holds the per-vertex array of cull
164 distance and cull distance, respectively, used in the clipping stage, as
173 "Primitives are culled against the cull volume and then clipped to the
186 The cull volume is the intersection of up to the value of
188 cull half-spaces are enabled, culling against the cull volume is skipped).
189 The number of enabled cull half-spaces is determined by the explicit or
193 A shader may write a single cull distance for each enabled cull half-space
194 to elements of the gl_CullDistance[] array. If the cull distance for any
[all …]
/third_party/flutter/skia/samplecode/
DSampleAtlas.cpp21 const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, in draw_atlas() argument
23 canvas->drawAtlas(atlas, xform, tex, colors, count, SkBlendMode::kModulate, cull, paint); in draw_atlas()
27 … const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, in draw_atlas_sim() argument
188 const SkRect cull = this->getBounds(); in onDraw() local
190 fProc(canvas, fAtlas.get(), xform, fTex, colorsPtr, N, &cull, &paint); in onDraw()

1234567