| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_pipe_util.c | 40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) 42 stage->next->point(stage->next, header); 46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) 48 stage->next->line(stage->next, header); 52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) 54 stage->next->tri(stage->next, header); 69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr 114 struct draw_stage *stage = draw->pipeline.first; local [all...] |
| draw_pipe_twoside.c | 39 struct draw_stage stage; member in struct:twoside_stage 46 static inline struct twoside_stage *twoside_stage( struct draw_stage *stage ) 48 return (struct twoside_stage *)stage; 59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); 76 static void twoside_tri( struct draw_stage *stage, 79 struct twoside_stage *twoside = twoside_stage(stage); 93 stage->next->tri( stage->next, &tmp ); 96 stage->next->tri( stage->next, header ) [all...] |
| draw_pipe_validate.c | 148 static struct draw_stage *validate_pipeline( struct draw_stage *stage ) 150 struct draw_context *draw = stage->draw; 157 /* Set the validate's next stage to the rasterize stage, so that it 160 stage->next = next; 230 * could only run the stage if either rast->flatshade is true 251 /* Always run the cull stage as we calculate determinant there 263 /* Clip stage 288 static void validate_tri( struct draw_stage *stage, 291 struct draw_stage *pipeline = validate_pipeline( stage ); 336 struct draw_stage *stage = CALLOC_STRUCT(draw_stage); local [all...] |
| draw_pipe_cull.c | 29 * \brief Drawing stage for polygon culling 43 struct draw_stage stage; member in struct:cull_stage 49 static inline struct cull_stage *cull_stage( struct draw_stage *stage ) 51 return (struct cull_stage *)stage; 57 static void cull_tri( struct draw_stage *stage, 62 const unsigned pos = draw_current_shader_position_output(stage->draw); 83 unsigned face = ((ccw == cull_stage(stage)->front_ccw) ? 87 if ((face & cull_stage(stage)->cull_face) == 0) { 88 /* triangle is not culled, pass to next stage */ 89 stage->next->tri( stage->next, header ) [all...] |
| draw_pipe_user_cull.c | 29 * \brief Drawing stage for user culling 38 struct draw_stage stage; member in struct:user_cull_stage 41 static inline struct user_cull_stage *user_cull_stage( struct draw_stage *stage ) 43 return (struct user_cull_stage *)stage; 58 static void user_cull_point( struct draw_stage *stage, 62 draw_current_shader_num_written_culldistances(stage->draw); 64 draw_current_shader_num_written_clipdistances(stage->draw); 72 draw_current_shader_ccdistance_output(stage->draw, cull_idx); 79 stage->next->point( stage->next, header ) [all...] |
| draw_pipe_wide_line.c | 41 struct draw_stage stage; member in struct:wideline_stage 48 static void wideline_line( struct draw_stage *stage, 51 const unsigned pos = draw_current_shader_position_output(stage->draw); 52 const float half_width = 0.5f * stage->draw->rasterizer->line_width; 56 struct vertex_header *v0 = dup_vert(stage, header->v[0], 0); 57 struct vertex_header *v1 = dup_vert(stage, header->v[0], 1); 58 struct vertex_header *v2 = dup_vert(stage, header->v[1], 2); 59 struct vertex_header *v3 = dup_vert(stage, header->v[1], 3); 70 stage->draw->rasterizer->half_pixel_center; 132 stage->next->tri( stage->next, &tri ) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| sp_quad_fs.c | 52 struct quad_stage stage; /**< base class */ member in struct:quad_shade_stage 166 qss->stage.softpipe = softpipe; 167 qss->stage.begin = shade_begin; 168 qss->stage.run = shade_quads; 169 qss->stage.destroy = shade_destroy; 171 return &qss->stage;
|
| sp_quad_stipple.c | 3 * quad polygon stipple stage 73 struct quad_stage *stage = CALLOC_STRUCT(quad_stage); local 75 stage->softpipe = softpipe; 76 stage->begin = stipple_begin; 77 stage->run = stipple_quad; 78 stage->destroy = stipple_destroy; 80 return stage;
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_glsl_to_ir.cpp | 74 gl_shader_stage stage = shader->Stage; local 76 &ctx->Const.ShaderCompilerOptions[stage]; 83 lower_variable_index_to_cond_assign(stage, ir, 90 enum pipe_shader_type ptarget = pipe_shader_type_from_mesa(stage); 125 if (stage == MESA_SHADER_FRAGMENT && pscreen->get_param(pscreen, PIPE_CAP_FBFETCH))
|
| st_nir_builtins.c | 36 gl_shader_stage stage = nir->info.stage; local 39 if (stage == MESA_SHADER_FRAGMENT) 50 (stage > MESA_SHADER_VERTEX ? nir_var_shader_in : 0) | 51 (stage < MESA_SHADER_FRAGMENT ? nir_var_shader_out : 0); 92 gl_shader_stage stage, 101 st_get_nir_compiler_options(st, stage); 103 nir_builder b = nir_builder_init_simple_shader(stage, options,
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/ |
| bi_lower_divergent_indirects.c | 47 gl_shader_stage stage = b->shader->info.stage; local 60 if (stage == MESA_SHADER_FRAGMENT)
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| lower_const_arrays_to_uniforms.cpp | 51 stage = s; 67 unsigned stage; member in class:__anon3336::lower_const_array_visitor 98 const_count, stage); 120 lower_const_arrays_to_uniforms(exec_list *instructions, unsigned stage) 122 lower_const_array_visitor v(instructions, stage);
|
| lower_output_reads.cpp | 50 unsigned stage; member in class:__anon3348::output_read_remover 52 output_read_remover(unsigned stage); 78 output_read_remover::output_read_remover(unsigned stage) 80 this->stage = stage; 172 lower_output_reads(unsigned stage, exec_list *instructions) 177 if (stage == MESA_SHADER_TESS_CTRL) 180 output_read_remover v(stage);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| draw_pipe_util.c | 40 draw_pipe_passthrough_point(struct draw_stage *stage, struct prim_header *header) 42 stage->next->point(stage->next, header); 46 draw_pipe_passthrough_line(struct draw_stage *stage, struct prim_header *header) 48 stage->next->line(stage->next, header); 52 draw_pipe_passthrough_tri(struct draw_stage *stage, struct prim_header *header) 54 stage->next->tri(stage->next, header); 69 boolean draw_alloc_temp_verts( struct draw_stage *stage, unsigned nr 114 struct draw_stage *stage = draw->pipeline.first; local [all...] |
| draw_pipe_twoside.c | 39 struct draw_stage stage; member in struct:twoside_stage 46 static inline struct twoside_stage *twoside_stage( struct draw_stage *stage ) 48 return (struct twoside_stage *)stage; 59 struct vertex_header *tmp = dup_vert( &twoside->stage, v, idx ); 76 static void twoside_tri( struct draw_stage *stage, 79 struct twoside_stage *twoside = twoside_stage(stage); 93 stage->next->tri( stage->next, &tmp ); 96 stage->next->tri( stage->next, header ) [all...] |
| draw_pipe_validate.c | 145 static struct draw_stage *validate_pipeline( struct draw_stage *stage ) 147 struct draw_context *draw = stage->draw; 154 /* Set the validate's next stage to the rasterize stage, so that it 157 stage->next = next; 227 * could only run the stage if either rast->flatshade is true 248 /* Always run the cull stage as we calculate determinant there 261 /* Clip stage 281 static void validate_tri( struct draw_stage *stage, 284 struct draw_stage *pipeline = validate_pipeline( stage ); 329 struct draw_stage *stage = CALLOC_STRUCT(draw_stage); local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| sp_quad_fs.c | 52 struct quad_stage stage; /**< base class */ member in struct:quad_shade_stage 166 qss->stage.softpipe = softpipe; 167 qss->stage.begin = shade_begin; 168 qss->stage.run = shade_quads; 169 qss->stage.destroy = shade_destroy; 171 return &qss->stage;
|
| sp_quad_stipple.c | 3 * quad polygon stipple stage 73 struct quad_stage *stage = CALLOC_STRUCT(quad_stage); local 75 stage->softpipe = softpipe; 76 stage->begin = stipple_begin; 77 stage->run = stipple_quad; 78 stage->destroy = stipple_destroy; 80 return stage;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| st_glsl_to_ir.cpp | 68 gl_shader_stage stage = shader->Stage; local 70 &ctx->Const.ShaderCompilerOptions[stage]; 77 lower_variable_index_to_cond_assign(stage, ir, 84 enum pipe_shader_type ptarget = pipe_shader_type_from_mesa(stage); 119 if (stage == MESA_SHADER_FRAGMENT)
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| lower_output_reads.cpp | 50 unsigned stage; member in class:__anon712::output_read_remover 52 output_read_remover(unsigned stage); 78 output_read_remover::output_read_remover(unsigned stage) 80 this->stage = stage; 172 lower_output_reads(unsigned stage, exec_list *instructions) 177 if (stage == MESA_SHADER_TESS_CTRL) 180 output_read_remover v(stage);
|
| lower_const_arrays_to_uniforms.cpp | 52 stage = s; 69 unsigned stage; member in class:__anon700::lower_const_array_visitor 110 const_count, stage); 149 lower_const_arrays_to_uniforms(exec_list *instructions, unsigned stage, 155 lower_const_array_visitor v(instructions, stage, free_uniform_slots);
|
| lower_xfb_varying.cpp | 43 gl_shader_stage stage, 57 gl_shader_stage stage; member in class:__anon729::lower_xfb_var_splicer 68 lower_xfb_var_splicer::lower_xfb_var_splicer(void *mem_ctx, gl_shader_stage stage, 70 : mem_ctx(mem_ctx), stage(stage), instructions(instructions) 86 if (stage != MESA_SHADER_VERTEX) 104 if (this->stage == MESA_SHADER_VERTEX) { 240 lower_xfb_var_splicer splicer(mem_ctx, shader->Stage, &new_instructions);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_live_shader_cache.c | 80 enum pipe_shader_type stage; local 82 /* Get the shader binary and shader stage. */ 87 stage = tgsi_get_processor_type(state->tokens); 93 stage = pipe_shader_type_from_mesa(((nir_shader*)state->ir.nir)->info.stage); 104 if ((stage == PIPE_SHADER_VERTEX || 105 stage == PIPE_SHADER_TESS_EVAL || 106 stage == PIPE_SHADER_GEOMETRY) &&
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| i915_prim_emit.c | 43 struct draw_stage stage; /**< This must be first (base class) */ member in struct:setup_stage 52 setup_stage(struct draw_stage *stage) 54 return (struct setup_stage *)stage; 118 emit_prim(struct draw_stage *stage, struct prim_header *prim, unsigned hwprim, 121 struct i915_context *i915 = setup_stage(stage)->i915; 158 setup_tri(struct draw_stage *stage, struct prim_header *prim) 160 emit_prim(stage, prim, PRIM3D_TRILIST, 3); 164 setup_line(struct draw_stage *stage, struct prim_header *prim) 166 emit_prim(stage, prim, PRIM3D_LINELIST, 2); 170 setup_point(struct draw_stage *stage, struct prim_header *prim [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| i915_prim_emit.c | 46 struct draw_stage stage; /**< This must be first (base class) */ member in struct:setup_stage 56 static inline struct setup_stage *setup_stage( struct draw_stage *stage ) 58 return (struct setup_stage *)stage; 128 emit_prim( struct draw_stage *stage, 133 struct i915_context *i915 = setup_stage(stage)->i915; 173 setup_tri( struct draw_stage *stage, struct prim_header *prim ) 175 emit_prim( stage, prim, PRIM3D_TRILIST, 3 ); 180 setup_line(struct draw_stage *stage, struct prim_header *prim) 182 emit_prim( stage, prim, PRIM3D_LINELIST, 2 ); 187 setup_point(struct draw_stage *stage, struct prim_header *prim [all...] |