| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_screen.h | 58 struct lp_rasterizer *rast; member in struct:llvmpipe_screen
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| nine_pipe.c | 80 struct pipe_rasterizer_state rast; local 82 memset(&rast, 0, sizeof(rast)); 84 rast.flatshade = rs[D3DRS_SHADEMODE] == D3DSHADE_FLAT; 85 /* rast.light_twoside = 0; */ 86 /* rast.clamp_fragment_color = 0; */ 87 /* rast.clamp_vertex_color = 0; */ 88 /* rast.front_ccw = 0; */ 89 rast.cull_face = d3dcull_to_pipe_face(rs[D3DRS_CULLMODE]); 90 rast.fill_front = d3dfillmode_to_pipe_polygon_mode(rs[D3DRS_FILLMODE]) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| nine_pipe.c | 80 struct pipe_rasterizer_state rast; local 82 memset(&rast, 0, sizeof(rast)); 84 rast.flatshade = rs[D3DRS_SHADEMODE] == D3DSHADE_FLAT; 85 /* rast.light_twoside = 0; */ 86 /* rast.clamp_fragment_color = 0; */ 87 /* rast.clamp_vertex_color = 0; */ 88 /* rast.front_ccw = 0; */ 89 rast.cull_face = d3dcull_to_pipe_face(rs[D3DRS_CULLMODE]); 90 rast.fill_front = d3dfillmode_to_pipe_polygon_mode(rs[D3DRS_FILLMODE]) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/ |
| draw_pipe_validate.c | 155 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 163 wide_lines = rast->line_width != 1.0f && 164 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && 165 (!rast->line_smooth || rast->multisample); 168 if (rast->sprite_coord_enable && draw->pipeline.point_sprite) 170 else if ((!rast->multisample && rast->point_smooth) && draw->pipeline.aapoint) 172 else if (rast->point_size > draw->pipeline.wide_point_threshold) 174 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites [all...] |
| draw_pipe_wide_line.c | 146 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 150 r = draw_get_rasterizer_no_cull(draw, rast);
|
| draw_pipe_offset.c | 151 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; local 152 unsigned fill_mode = rast->fill_front; 155 if (rast->fill_back != rast->fill_front) { 158 if (ccw != rast->front_ccw) 159 fill_mode = rast->fill_back; 165 do_offset = rast->offset_tri; 168 do_offset = rast->offset_line; 171 do_offset = rast->offset_point; 175 do_offset = rast->offset_tri [all...] |
| draw_pipe_unfilled.c | 215 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; local 217 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back; 218 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front; 256 const struct pipe_rasterizer_state *rast = draw ? draw->rasterizer : 0; local 257 boolean is_unfilled = (rast && 258 (rast->fill_front != PIPE_POLYGON_MODE_FILL | [all...] |
| draw_pipe_aapoint.c | 578 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 598 r = draw_get_rasterizer_no_cull(draw, rast); 662 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 667 if (!rast->point_smooth || rast->multisample)
|
| draw_pipe_wide_point.c | 102 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 103 const uint texcoord_mode = rast->sprite_coord_mode; 203 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 206 wide->half_point_size = 0.5f * rast->point_size; 210 if (rast->half_pixel_center) { 216 r = draw_get_rasterizer_no_cull(draw, rast); 222 if ((rast->point_size > draw->pipeline.wide_point_threshold) || 223 (rast->point_quad_rasterization && draw->pipeline.point_sprite)) { 232 if (rast->point_quad_rasterization) { 250 if (si >= 32 || !(rast->sprite_coord_enable & (1 << si)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| lp_screen.h | 58 struct lp_rasterizer *rast; member in struct:llvmpipe_screen
|
| lp_rast_priv.h | 95 struct lp_rasterizer *rast; member in struct:lp_rasterizer_task
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/ |
| draw_pipe_validate.c | 152 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 160 wide_lines = rast->line_width != 1.0f && 161 roundf(rast->line_width) > draw->pipeline.wide_line_threshold && 162 !rast->line_smooth; 165 if (rast->sprite_coord_enable && draw->pipeline.point_sprite) 167 else if (rast->point_smooth && draw->pipeline.aapoint) 169 else if (rast->point_size > draw->pipeline.wide_point_threshold) 171 else if (rast->point_quad_rasterization && draw->pipeline.wide_point_sprites) 183 if (rast->line_smooth && draw->pipeline.aaline) { 189 if (rast->point_smooth && draw->pipeline.aapoint) [all...] |
| draw_pipe_wide_line.c | 146 const struct pipe_rasterizer_state *rast = draw->rasterizer; local 150 r = draw_get_rasterizer_no_cull(draw, rast->scissor, rast->flatshade);
|
| draw_pipe_offset.c | 151 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; local 152 unsigned fill_mode = rast->fill_front; 155 if (rast->fill_back != rast->fill_front) { 158 if (ccw != rast->front_ccw) 159 fill_mode = rast->fill_back; 165 do_offset = rast->offset_tri; 168 do_offset = rast->offset_line; 171 do_offset = rast->offset_point; 175 do_offset = rast->offset_tri [all...] |
| draw_pipe_unfilled.c | 215 const struct pipe_rasterizer_state *rast = stage->draw->rasterizer; local 217 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back; 218 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front; 256 const struct pipe_rasterizer_state *rast = draw ? draw->rasterizer : 0; local 257 boolean is_unfilled = (rast && 258 (rast->fill_front != PIPE_POLYGON_MODE_FILL | [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_shader_state.c | 92 struct pipe_rasterizer_state *rast = &nvc0->rast->pipe; local 94 if (fp->fp.force_persample_interp != rast->force_persample_interp) { 101 fp->fp.force_persample_interp = rast->force_persample_interp; 111 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { 116 fp->fp.flatshade = rast->flatshade; 122 hwflatshade = rast->flatshade;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/ |
| d3d12_pipeline_state.h | 71 struct d3d12_rasterizer_state *rast; member in struct:d3d12_gfx_pipeline_state
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/ |
| nvc0_shader_state.c | 109 struct pipe_rasterizer_state *rast = &nvc0->rast->pipe; local 111 if (fp->fp.force_persample_interp != rast->force_persample_interp) { 118 fp->fp.force_persample_interp = rast->force_persample_interp; 121 if (fp->fp.msaa != rast->multisample) { 128 fp->fp.msaa = rast->multisample; 138 if (has_explicit_color && fp->fp.flatshade != rast->flatshade) { 143 fp->fp.flatshade = rast->flatshade; 149 hwflatshade = rast->flatshade;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| svga_pipe_rasterizer.c | 106 struct svga_rasterizer_state *rast) 109 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front); 110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); 111 const int depth_bias = rast->templ.offset_units; 112 const float slope_scaled_depth_bias = rast->templ.offset_scale; 115 const float line_width = rast->templ.line_width > 0.0f ? 116 rast->templ.line_width : 1.0f; 117 const uint8 line_factor = rast->templ.line_stipple_enable ? 118 rast->templ.line_stipple_factor : 0; 119 const uint16 line_pattern = rast->templ.line_stipple_enable 160 struct svga_rasterizer_state *rast = CALLOC_STRUCT(svga_rasterizer_state); local [all...] |
| svga_state_rss.c | 144 const struct svga_rasterizer_state *rast = svga->curr.rast; local 173 if (rast->templ.front_ccw) { 219 const struct svga_rasterizer_state *curr = svga->curr.rast; 259 const struct svga_rasterizer_state *curr = svga->curr.rast; 290 unsigned enabled = svga->curr.rast->templ.clip_plane_enable; 324 const struct svga_rasterizer_state *r = svga->curr.rast; 328 struct pipe_rasterizer_state rast; local 330 memset(&rast, 0, sizeof(rast)); 461 const struct svga_rasterizer_state *rast; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| svga_pipe_rasterizer.c | 106 struct svga_rasterizer_state *rast) 109 unsigned fill_mode = translate_fill_mode(rast->templ.fill_front); 110 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); 111 const int depth_bias = rast->templ.offset_units; 112 const float slope_scaled_depth_bias = rast->templ.offset_scale; 115 const float line_width = rast->templ.line_width > 0.0f ? 116 rast->templ.line_width : 1.0f; 117 const uint8 line_factor = rast->templ.line_stipple_enable ? 118 rast->templ.line_stipple_factor : 0; 119 const uint16 line_pattern = rast->templ.line_stipple_enable 166 struct svga_rasterizer_state *rast = CALLOC_STRUCT(svga_rasterizer_state); local [all...] |
| svga_state_rss.c | 144 const struct svga_rasterizer_state *rast = svga->curr.rast; local 173 if (rast->templ.front_ccw) { 219 const struct svga_rasterizer_state *curr = svga->curr.rast; 259 const struct svga_rasterizer_state *curr = svga->curr.rast; 290 unsigned enabled = svga->curr.rast->templ.clip_plane_enable; 324 const struct svga_rasterizer_state *r = svga->curr.rast; 328 struct pipe_rasterizer_state rast; local 330 memset(&rast, 0, sizeof(rast)); 461 const struct svga_rasterizer_state *rast; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| vl_compositor.c | 130 struct pipe_rasterizer_state rast; local 177 memset(&rast, 0, sizeof rast); 178 rast.flatshade = 0; 179 rast.front_ccw = 1; 180 rast.cull_face = PIPE_FACE_NONE; 181 rast.fill_back = PIPE_POLYGON_MODE_FILL; 182 rast.fill_front = PIPE_POLYGON_MODE_FILL; 183 rast.scissor = 1; 184 rast.line_width = 1 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_draw.c | 281 struct nv30_rasterizer_stateobj *rast = nv30->rast; local 320 if (rast && rast->pipe.point_quad_rasterization) 321 pntc = rast->pipe.sprite_coord_enable & 0x000002ff; 394 draw_set_rasterizer_state(draw, &nv30->rast->pipe, NULL);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| nv50_shader_state.c | 180 struct pipe_rasterizer_state *rast = &nv50->rast->pipe; local 182 if (!fp || !rast) 222 if (fp->fp.force_persample_interp != rast->force_persample_interp) { 229 fp->fp.force_persample_interp = rast->force_persample_interp; 311 if (!nv50->rast->pipe.point_quad_rasterization) { 333 if (!(nv50->rast->pipe.sprite_coord_enable & (1 << fp->in[i].si))) { 346 if (nv50->rast->pipe.sprite_coord_mode == PIPE_SPRITE_COORD_LOWER_LEFT) 367 if (nv50->state.rasterizer_discard != nv50->rast->pipe.rasterizer_discard) { 368 nv50->state.rasterizer_discard = nv50->rast->pipe.rasterizer_discard [all...] |