Home
last modified time | relevance | path

Searched refs:stage (Results 1 – 25 of 1436) sorted by relevance

12345678910>>...58

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_cull.c43 struct draw_stage stage; member
49 static inline struct cull_stage *cull_stage( struct draw_stage *stage ) in cull_stage() argument
51 return (struct cull_stage *)stage; in cull_stage()
66 static void cull_point( struct draw_stage *stage, in cull_point() argument
70 draw_current_shader_num_written_culldistances(stage->draw); in cull_point()
72 draw_current_shader_num_written_clipdistances(stage->draw); in cull_point()
80 draw_current_shader_ccdistance_output(stage->draw, cull_idx); in cull_point()
87 stage->next->point( stage->next, header ); in cull_point()
96 static void cull_line( struct draw_stage *stage, in cull_line() argument
100 draw_current_shader_num_written_culldistances(stage->draw); in cull_line()
[all …]
Ddraw_pipe_unfilled.c44 struct draw_stage stage; member
56 static inline struct unfilled_stage *unfilled_stage( struct draw_stage *stage ) in unfilled_stage() argument
58 return (struct unfilled_stage *)stage; in unfilled_stage()
62 inject_front_face_info(struct draw_stage *stage, in inject_front_face_info() argument
65 struct unfilled_stage *unfilled = unfilled_stage(stage); in inject_front_face_info()
67 (stage->draw->rasterizer->front_ccw && header->det < 0.0f) || in inject_front_face_info()
68 (!stage->draw->rasterizer->front_ccw && header->det > 0.0f)); in inject_front_face_info()
88 static void point(struct draw_stage *stage, in point() argument
96 stage->next->point(stage->next, &tmp); in point()
99 static void line(struct draw_stage *stage, in line() argument
[all …]
Ddraw_pipe_flatshade.c43 struct draw_stage stage; member
51 flat_stage(struct draw_stage *stage) in flat_stage() argument
53 return (struct flat_stage *) stage; in flat_stage()
58 static inline void copy_flats( struct draw_stage *stage, in copy_flats() argument
62 const struct flat_stage *flat = flat_stage(stage); in copy_flats()
73 static inline void copy_flats2( struct draw_stage *stage, in copy_flats2() argument
78 const struct flat_stage *flat = flat_stage(stage); in copy_flats2()
93 static void flatshade_tri_0( struct draw_stage *stage, in flatshade_tri_0() argument
102 tmp.v[1] = dup_vert(stage, header->v[1], 0); in flatshade_tri_0()
103 tmp.v[2] = dup_vert(stage, header->v[2], 1); in flatshade_tri_0()
[all …]
Ddraw_pipe_stipple.c49 struct draw_stage stage; member
57 stipple_stage(struct draw_stage *stage) in stipple_stage() argument
59 return (struct stipple_stage *) stage; in stipple_stage()
90 emit_segment(struct draw_stage *stage, struct prim_header *header, in emit_segment() argument
93 struct vertex_header *v0new = dup_vert(stage, header->v[0], 0); in emit_segment()
94 struct vertex_header *v1new = dup_vert(stage, header->v[1], 1); in emit_segment()
98 screen_interp(stage->draw, v0new, t0, header->v[0], header->v[1]); in emit_segment()
103 screen_interp(stage->draw, v1new, t1, header->v[0], header->v[1]); in emit_segment()
107 stage->next->line(stage->next, &newprim); in emit_segment()
120 stipple_line(struct draw_stage *stage, struct prim_header *header) in stipple_line() argument
[all …]
Ddraw_pipe_offset.c43 struct draw_stage stage; member
52 static inline struct offset_stage *offset_stage( struct draw_stage *stage ) in offset_stage() argument
54 return (struct offset_stage *) stage; in offset_stage()
65 static void do_offset_tri( struct draw_stage *stage, in do_offset_tri() argument
68 const unsigned pos = draw_current_shader_position_output(stage->draw); in do_offset_tri()
69 struct offset_stage *offset = offset_stage(stage); in do_offset_tri()
97 if (stage->draw->floating_point_depth) { in do_offset_tri()
127 stage->next->tri( stage->next, header ); in do_offset_tri()
131 static void offset_tri( struct draw_stage *stage, in offset_tri() argument
139 tmp.v[0] = dup_vert(stage, header->v[0], 0); in offset_tri()
[all …]
Ddraw_pipe_twoside.c39 struct draw_stage stage; member
46 static inline struct twoside_stage *twoside_stage( struct draw_stage *stage ) in twoside_stage() argument
48 return (struct twoside_stage *)stage; in twoside_stage()
59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); in copy_bfc()
76 static void twoside_tri( struct draw_stage *stage, in twoside_tri() argument
79 struct twoside_stage *twoside = twoside_stage(stage); in twoside_tri()
93 stage->next->tri( stage->next, &tmp ); in twoside_tri()
96 stage->next->tri( stage->next, header ); in twoside_tri()
102 static void twoside_first_tri( struct draw_stage *stage, in twoside_first_tri() argument
105 struct twoside_stage *twoside = twoside_stage(stage); in twoside_first_tri()
[all …]
Ddraw_pipe_wide_line.c41 struct draw_stage stage; member
48 static void wideline_line( struct draw_stage *stage, in wideline_line() argument
51 const unsigned pos = draw_current_shader_position_output(stage->draw); in wideline_line()
52 const float half_width = 0.5f * stage->draw->rasterizer->line_width; in wideline_line()
56 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in wideline_line()
57 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in wideline_line()
58 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2); in wideline_line()
59 struct vertex_header *v3 = dup_vert(stage, header->v[1], 3); in wideline_line()
70 stage->draw->rasterizer->half_pixel_center; in wideline_line()
132 stage->next->tri( stage->next, &tri ); in wideline_line()
[all …]
Ddraw_pipe_util.c40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) in draw_pipe_passthrough_point() argument
42 stage->next->point(stage->next, header); in draw_pipe_passthrough_point()
46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) in draw_pipe_passthrough_line() argument
48 stage->next->line(stage->next, header); in draw_pipe_passthrough_line()
52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) in draw_pipe_passthrough_tri() argument
54 stage->next->tri(stage->next, header); in draw_pipe_passthrough_tri()
69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr ) in draw_alloc_temp_verts() argument
71 assert(!stage->tmp); in draw_alloc_temp_verts()
73 stage->tmp = NULL; in draw_alloc_temp_verts()
74 stage->nr_tmps = nr; in draw_alloc_temp_verts()
[all …]
Ddraw_pipe_wide_point.c67 struct draw_stage stage; /**< base class */ member
87 widepoint_stage( struct draw_stage *stage ) in widepoint_stage() argument
89 return (struct widepoint_stage *)stage; in widepoint_stage()
101 const struct draw_context *draw = wide->stage.draw; in set_texcoords()
124 static void widepoint_point( struct draw_stage *stage, in widepoint_point() argument
127 const struct widepoint_stage *wide = widepoint_stage(stage); in widepoint_point()
128 const unsigned pos = draw_current_shader_position_output(stage->draw); in widepoint_point()
129 const boolean sprite = (boolean) stage->draw->rasterizer->point_quad_rasterization; in widepoint_point()
136 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); in widepoint_point()
137 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); in widepoint_point()
[all …]
Ddraw_pipe_clip.c60 struct draw_stage stage; /**< base class */ member
81 static inline struct clip_stage *clip_stage(struct draw_stage *stage) in clip_stage() argument
83 return (struct clip_stage *)stage; in clip_stage()
122 static void copy_flat(struct draw_stage *stage, in copy_flat() argument
126 const struct clip_stage *clipper = clip_stage(stage); in copy_flat()
169 clip->stage.draw->viewports[viewport_index].scale; in interp()
171 clip->stage.draw->viewports[viewport_index].translate; in interp()
245 static void emit_poly(struct draw_stage *stage, in emit_poly() argument
251 const struct clip_stage *clipper = clip_stage(stage); in emit_poly()
258 if (stage->draw->rasterizer->flatshade_first) { in emit_poly()
[all …]
Ddraw_pipe_vbuf.c52 struct draw_stage stage; /**< This must be first (base class) */ member
89 vbuf_stage(struct draw_stage *stage) in vbuf_stage() argument
91 assert(stage); in vbuf_stage()
92 return (struct vbuf_stage *)stage; in vbuf_stage()
142 vbuf_tri(struct draw_stage *stage, struct prim_header *prim) in vbuf_tri() argument
144 struct vbuf_stage *vbuf = vbuf_stage(stage); in vbuf_tri()
156 vbuf_line(struct draw_stage *stage, struct prim_header *prim) in vbuf_line() argument
158 struct vbuf_stage *vbuf = vbuf_stage(stage); in vbuf_line()
170 vbuf_point(struct draw_stage *stage, struct prim_header *prim) in vbuf_point() argument
172 struct vbuf_stage *vbuf = vbuf_stage(stage); in vbuf_point()
[all …]
Ddraw_pipe_pstipple.c76 struct draw_stage stage; member
163 struct draw_context *draw = pstip->stage.draw; in bind_pstip_fragment_shader()
176 pstip_stage( struct draw_stage *stage ) in pstip_stage() argument
178 return (struct pstip_stage *) stage; in pstip_stage()
183 pstip_first_tri(struct draw_stage *stage, struct prim_header *header) in pstip_first_tri() argument
185 struct pstip_stage *pstip = pstip_stage(stage); in pstip_first_tri()
187 struct draw_context *draw = stage->draw; in pstip_first_tri()
191 assert(stage->draw->rasterizer->poly_stipple_enable); in pstip_first_tri()
195 stage->tri = draw_pipe_passthrough_tri; in pstip_first_tri()
196 stage->tri(stage, header); in pstip_first_tri()
[all …]
Ddraw_pipe_validate.c145 static struct draw_stage *validate_pipeline( struct draw_stage *stage ) in validate_pipeline() argument
147 struct draw_context *draw = stage->draw; in validate_pipeline()
157 stage->next = next; in validate_pipeline()
281 static void validate_tri( struct draw_stage *stage, in validate_tri() argument
284 struct draw_stage *pipeline = validate_pipeline( stage ); in validate_tri()
288 static void validate_line( struct draw_stage *stage, in validate_line() argument
291 struct draw_stage *pipeline = validate_pipeline( stage ); in validate_line()
295 static void validate_point( struct draw_stage *stage, in validate_point() argument
298 struct draw_stage *pipeline = validate_pipeline( stage ); in validate_point()
302 static void validate_reset_stipple_counter( struct draw_stage *stage ) in validate_reset_stipple_counter() argument
[all …]
/external/libaom/libaom/av1/common/
Dav1_inv_txfm1d.c25 int32_t stage = 0; in av1_idct4_new() local
32 stage++; in av1_idct4_new()
38 av1_range_check_buf(stage, input, bf1, size, stage_range[stage]); in av1_idct4_new()
41 stage++; in av1_idct4_new()
48 av1_range_check_buf(stage, input, bf1, size, stage_range[stage]); in av1_idct4_new()
51 stage++; in av1_idct4_new()
54 bf1[0] = clamp_value(bf0[0] + bf0[3], stage_range[stage]); in av1_idct4_new()
55 bf1[1] = clamp_value(bf0[1] + bf0[2], stage_range[stage]); in av1_idct4_new()
56 bf1[2] = clamp_value(bf0[1] - bf0[2], stage_range[stage]); in av1_idct4_new()
57 bf1[3] = clamp_value(bf0[0] - bf0[3], stage_range[stage]); in av1_idct4_new()
[all …]
/external/swiftshader/src/D3D8/
DDirect3DStateBlock8.cpp38 for(int stage = 0; stage < 8; stage++) in Direct3DStateBlock8() local
40 texture[stage] = 0; in Direct3DStateBlock8()
131 for(int stage = 0; stage < 8; stage++) in Apply() local
135 if(textureStageStateCaptured[stage][state]) in Apply()
137 …device->SetTextureStageState(stage, (D3DTEXTURESTAGESTATETYPE)state, textureStageState[stage][stat… in Apply()
150 for(int stage = 0; stage < 8; stage++) in Apply() local
152 if(textureCaptured[stage]) in Apply()
154 device->SetTexture(stage, texture[stage]); in Apply()
214 for(int stage = 0; stage < 8; stage++) in Capture() local
218 if(textureStageStateCaptured[stage][state]) in Capture()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeSchedule5.td11 // MBlaze instruction itineraries for the five stage pipeline.
19 // two source operands are read during the decode stage and the result is
20 // ready after the execute stage.
22 [ InstrStage<1,[IF]> // one cycle in fetch stage
23 , InstrStage<1,[ID]> // one cycle in decode stage
24 , InstrStage<1,[EX]> // one cycle in execute stage
25 , InstrStage<1,[MA]> // one cycle in memory access stage
26 , InstrStage<1,[WB]>], // one cycle in write back stage
34 // pipeline stages. The two source operands are read during the decode stage
35 // and the result is ready after the execute stage.
[all …]
DMBlazeSchedule3.td11 // MBlaze instruction itineraries for the three stage pipeline.
19 // two source operands are read during the decode stage and the result is
20 // ready after the execute stage.
22 [ InstrStage<1,[IF]> // one cycle in fetch stage
23 , InstrStage<1,[ID]> // one cycle in decode stage
24 , InstrStage<1,[EX]>], // one cycle in execute stage
32 // pipeline stages except the execute stage, which takes three cycles. The
33 // two source operands are read during the decode stage and the result is
34 // ready after the execute stage.
36 [ InstrStage<1,[IF]> // one cycle in fetch stage
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_feedback.c63 struct draw_stage stage; /**< Base class */ member
74 feedback_stage( struct draw_stage *stage ) in feedback_stage() argument
76 return (struct feedback_stage *)stage; in feedback_stage()
119 feedback_tri( struct draw_stage *stage, struct prim_header *prim ) in feedback_tri() argument
121 struct feedback_stage *fs = feedback_stage(stage); in feedback_tri()
122 struct draw_context *draw = stage->draw; in feedback_tri()
132 feedback_line( struct draw_stage *stage, struct prim_header *prim ) in feedback_line() argument
134 struct feedback_stage *fs = feedback_stage(stage); in feedback_line()
135 struct draw_context *draw = stage->draw; in feedback_line()
149 feedback_point( struct draw_stage *stage, struct prim_header *prim ) in feedback_point() argument
[all …]
/external/deqp-deps/glslang/Test/
Dhlsl.intrinsics.negative.comp5 …// AllMemoryBarrier(); // invalid in fragment stage TODO: parser currently crashes o…
6 …// AllMemoryBarrierWithGroupSync(); // invalid in fragment stage TODO: parser currently crashes o…
9 // clip(inF0); // expected error: only valid in pixel stage
13 // ddx(inF0); // expected error: only valid in pixel stage
14 // ddx_coarse(inF0); // expected error: only valid in pixel stage
15 // ddx_fine(inF0); // expected error: only valid in pixel stage
16 // ddy(inF0); // expected error: only valid in pixel stage
17 // ddy_coarse(inF0); // expected error: only valid in pixel stage
18 // ddy_fine(inF0); // expected error: only valid in pixel stage
27 // fwidth(inF0); // expected error: only valid in pixel stage
[all …]
Dhlsl.intrinsics.negative.vert18 // AllMemoryBarrier(); // expected error: only valid in compute stage
19 // AllMemoryBarrierWithGroupSync(); // expected error: only valid in compute stage
23 // clip(inF0); // expected error: only valid in pixel stage
28 // DeviceMemoryBarrierWithGroupSync(); // expected error: only valid in compute stage
29 // ddx(inF0); // expected error: only valid in pixel stage
30 // ddx_coarse(inF0); // expected error: only valid in pixel stage
31 // ddx_fine(inF0); // expected error: only valid in pixel stage
32 // ddy(inF0); // expected error: only valid in pixel stage
33 // ddy_coarse(inF0); // expected error: only valid in pixel stage
34 // ddy_fine(inF0); // expected error: only valid in pixel stage
[all …]
Dspv.RayCallable_Errors.rcall3 …NV vec4 hitattr; // ERROR, hitattributeNV unsupported in this stage
4 …dNV vec4 payload; // ERROR, rayPayloadNV unsupported in this stage
5 …nNV vec4 payloadIn; // ERROR, rayPayloadInNV unsupported in this stage
9 int e0 = gl_PrimitiveID; // ERROR, unsupported builtin in stage
10 int e1 = gl_InstanceID; // ERROR, unsupported builtin in stage
11 int e3 = gl_InstanceCustomIndexNV; // ERROR, unsupported builtin in stage
12 vec3 e4 = gl_WorldRayOriginNV; // ERROR, unsupported builtin in stage
13 vec3 e5 = gl_WorldRayDirectionNV; // ERROR, unsupported builtin in stage
14 vec3 e6 = gl_ObjectRayOriginNV; // ERROR, unsupported builtin in stage
15 vec3 e7 = gl_ObjectRayDirectionNV; // ERROR, unsupported builtin in stage
[all …]
Dspv.RayGenShader_Errors.rgen3 …NV vec4 payload; // ERROR, hitattributeNV unsupported in this stage
4 …dInNV vec4 payloadIn; // ERROR, rayPayloadIn unsupported in this stage
24 int e0 = gl_PrimitiveID; // ERROR, unsupported builtin in stage
25 int e1 = gl_InstanceID; // ERROR, unsupported builtin in stage
26 int e3 = gl_InstanceCustomIndexNV; // ERROR, unsupported builtin in stage
27 vec3 e4 = gl_WorldRayOriginNV; // ERROR, unsupported builtin in stage
28 vec3 e5 = gl_WorldRayDirectionNV; // ERROR, unsupported builtin in stage
29 vec3 e6 = gl_ObjectRayOriginNV; // ERROR, unsupported builtin in stage
30 vec3 e7 = gl_ObjectRayDirectionNV; // ERROR, unsupported builtin in stage
31 float e8 = gl_RayTminNV; // ERROR, unsupported builtin in stage
[all …]
/external/skia/src/core/
DSkBlendMode.cpp86 auto stage = SkRasterPipeline::srcover; in SkBlendMode_AppendStages() local
88 case SkBlendMode::kClear: stage = SkRasterPipeline::clear; break; in SkBlendMode_AppendStages()
90 case SkBlendMode::kDst: stage = SkRasterPipeline::move_dst_src; break; in SkBlendMode_AppendStages()
91 case SkBlendMode::kSrcOver: stage = SkRasterPipeline::srcover; break; in SkBlendMode_AppendStages()
92 case SkBlendMode::kDstOver: stage = SkRasterPipeline::dstover; break; in SkBlendMode_AppendStages()
93 case SkBlendMode::kSrcIn: stage = SkRasterPipeline::srcin; break; in SkBlendMode_AppendStages()
94 case SkBlendMode::kDstIn: stage = SkRasterPipeline::dstin; break; in SkBlendMode_AppendStages()
95 case SkBlendMode::kSrcOut: stage = SkRasterPipeline::srcout; break; in SkBlendMode_AppendStages()
96 case SkBlendMode::kDstOut: stage = SkRasterPipeline::dstout; break; in SkBlendMode_AppendStages()
97 case SkBlendMode::kSrcATop: stage = SkRasterPipeline::srcatop; break; in SkBlendMode_AppendStages()
[all …]
/external/skqp/src/core/
DSkBlendMode.cpp86 auto stage = SkRasterPipeline::srcover; in SkBlendMode_AppendStages() local
88 case SkBlendMode::kClear: stage = SkRasterPipeline::clear; break; in SkBlendMode_AppendStages()
90 case SkBlendMode::kDst: stage = SkRasterPipeline::move_dst_src; break; in SkBlendMode_AppendStages()
91 case SkBlendMode::kSrcOver: stage = SkRasterPipeline::srcover; break; in SkBlendMode_AppendStages()
92 case SkBlendMode::kDstOver: stage = SkRasterPipeline::dstover; break; in SkBlendMode_AppendStages()
93 case SkBlendMode::kSrcIn: stage = SkRasterPipeline::srcin; break; in SkBlendMode_AppendStages()
94 case SkBlendMode::kDstIn: stage = SkRasterPipeline::dstin; break; in SkBlendMode_AppendStages()
95 case SkBlendMode::kSrcOut: stage = SkRasterPipeline::srcout; break; in SkBlendMode_AppendStages()
96 case SkBlendMode::kDstOut: stage = SkRasterPipeline::dstout; break; in SkBlendMode_AppendStages()
97 case SkBlendMode::kSrcATop: stage = SkRasterPipeline::srcatop; break; in SkBlendMode_AppendStages()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c46 struct draw_stage stage; /**< This must be first (base class) */ member
56 static inline struct setup_stage *setup_stage( struct draw_stage *stage ) in setup_stage() argument
58 return (struct setup_stage *)stage; in setup_stage()
128 emit_prim( struct draw_stage *stage, in emit_prim() argument
133 struct i915_context *i915 = setup_stage(stage)->i915; in emit_prim()
173 setup_tri( struct draw_stage *stage, struct prim_header *prim ) in setup_tri() argument
175 emit_prim( stage, prim, PRIM3D_TRILIST, 3 ); in setup_tri()
180 setup_line(struct draw_stage *stage, struct prim_header *prim) in setup_line() argument
182 emit_prim( stage, prim, PRIM3D_LINELIST, 2 ); in setup_line()
187 setup_point(struct draw_stage *stage, struct prim_header *prim) in setup_point() argument
[all …]

12345678910>>...58