Home
last modified time | relevance | path

Searched refs:rs_state (Results 1 – 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c137 struct pipe_rasterizer_state rs_state; in vl_matrix_filter_init() local
151 memset(&rs_state, 0, sizeof(rs_state)); in vl_matrix_filter_init()
152 rs_state.half_pixel_center = true; in vl_matrix_filter_init()
153 rs_state.bottom_edge_rule = true; in vl_matrix_filter_init()
154 rs_state.depth_clip_near = 1; in vl_matrix_filter_init()
155 rs_state.depth_clip_far = 1; in vl_matrix_filter_init()
157 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init()
158 if (!filter->rs_state) in vl_matrix_filter_init()
247 pipe->delete_rasterizer_state(pipe, filter->rs_state); in vl_matrix_filter_init()
260 filter->pipe->delete_rasterizer_state(filter->pipe, filter->rs_state); in vl_matrix_filter_cleanup()
[all …]
Dvl_median_filter.c248 struct pipe_rasterizer_state rs_state; in vl_median_filter_init() local
262 memset(&rs_state, 0, sizeof(rs_state)); in vl_median_filter_init()
263 rs_state.half_pixel_center = true; in vl_median_filter_init()
264 rs_state.bottom_edge_rule = true; in vl_median_filter_init()
265 rs_state.depth_clip_near = 1; in vl_median_filter_init()
266 rs_state.depth_clip_far = 1; in vl_median_filter_init()
268 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_median_filter_init()
269 if (!filter->rs_state) in vl_median_filter_init()
351 pipe->delete_rasterizer_state(pipe, filter->rs_state); in vl_median_filter_init()
364 filter->pipe->delete_rasterizer_state(filter->pipe, filter->rs_state); in vl_median_filter_cleanup()
[all …]
Dvl_bicubic_filter.c250 struct pipe_rasterizer_state rs_state; in vl_bicubic_filter_init() local
263 memset(&rs_state, 0, sizeof(rs_state)); in vl_bicubic_filter_init()
264 rs_state.half_pixel_center = true; in vl_bicubic_filter_init()
265 rs_state.bottom_edge_rule = true; in vl_bicubic_filter_init()
266 rs_state.depth_clip_near = 1; in vl_bicubic_filter_init()
267 rs_state.depth_clip_far = 1; in vl_bicubic_filter_init()
269 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_bicubic_filter_init()
270 if (!filter->rs_state) in vl_bicubic_filter_init()
364 pipe->delete_rasterizer_state(pipe, filter->rs_state); in vl_bicubic_filter_init()
377 filter->pipe->delete_rasterizer_state(filter->pipe, filter->rs_state); in vl_bicubic_filter_cleanup()
[all …]
Dvl_zscan.c291 struct pipe_rasterizer_state rs_state; in init_state() local
297 memset(&rs_state, 0, sizeof(rs_state)); in init_state()
298 rs_state.half_pixel_center = true; in init_state()
299 rs_state.bottom_edge_rule = true; in init_state()
300 rs_state.depth_clip_near = 1; in init_state()
301 rs_state.depth_clip_far = 1; in init_state()
303 zscan->rs_state = zscan->pipe->create_rasterizer_state(zscan->pipe, &rs_state); in init_state()
304 if (!zscan->rs_state) in init_state()
349 zscan->pipe->delete_rasterizer_state(zscan->pipe, zscan->rs_state); in init_state()
368 zscan->pipe->delete_rasterizer_state(zscan->pipe, zscan->rs_state); in cleanup_state()
[all …]
Dvl_deint_filter.c240 struct pipe_rasterizer_state rs_state; in vl_deint_filter_init() local
272 memset(&rs_state, 0, sizeof(rs_state)); in vl_deint_filter_init()
273 rs_state.half_pixel_center = true; in vl_deint_filter_init()
274 rs_state.bottom_edge_rule = true; in vl_deint_filter_init()
275 rs_state.depth_clip_near = 1; in vl_deint_filter_init()
276 rs_state.depth_clip_far = 1; in vl_deint_filter_init()
278 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_deint_filter_init()
279 if (!filter->rs_state) in vl_deint_filter_init()
380 pipe->delete_rasterizer_state(pipe, filter->rs_state); in vl_deint_filter_init()
398 filter->pipe->delete_rasterizer_state(filter->pipe, filter->rs_state); in vl_deint_filter_cleanup()
[all …]
Dvl_mc.c380 struct pipe_rasterizer_state rs_state; in init_pipe_state() local
430 memset(&rs_state, 0, sizeof(rs_state)); in init_pipe_state()
432 rs_state.sprite_coord_mode = PIPE_SPRITE_COORD_UPPER_LEFT; in init_pipe_state()
433 rs_state.point_quad_rasterization = true; in init_pipe_state()
434 rs_state.point_size = VL_BLOCK_WIDTH; in init_pipe_state()
435 rs_state.half_pixel_center = true; in init_pipe_state()
436 rs_state.bottom_edge_rule = true; in init_pipe_state()
437 rs_state.depth_clip_near = 1; in init_pipe_state()
438 rs_state.depth_clip_far = 1; in init_pipe_state()
440 r->rs_state = r->pipe->create_rasterizer_state(r->pipe, &rs_state); in init_pipe_state()
[all …]
Dvl_idct.c509 struct pipe_rasterizer_state rs_state; in init_state() local
515 memset(&rs_state, 0, sizeof(rs_state)); in init_state()
516 rs_state.point_size = 1; in init_state()
517 rs_state.half_pixel_center = true; in init_state()
518 rs_state.bottom_edge_rule = true; in init_state()
519 rs_state.depth_clip_near = 1; in init_state()
520 rs_state.depth_clip_far = 1; in init_state()
522 idct->rs_state = idct->pipe->create_rasterizer_state(idct->pipe, &rs_state); in init_state()
523 if (!idct->rs_state) in init_state()
568 idct->pipe->delete_rasterizer_state(idct->pipe, idct->rs_state); in init_state()
[all …]
Dvl_matrix_filter.h41 void *rs_state; member
Dvl_bicubic_filter.h40 void *rs_state; member
Dvl_median_filter.h49 void *rs_state; member
Dvl_deint_filter.h40 void *rs_state; member
Dvl_zscan.h50 void *rs_state; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c568 const struct pipe_rasterizer_state *rs_state) in zink_create_rasterizer_state() argument
576 state->base = *rs_state; in zink_create_rasterizer_state()
578 state->hw_state.line_stipple_enable = rs_state->line_stipple_enable; in zink_create_rasterizer_state()
580 assert(rs_state->depth_clip_far == rs_state->depth_clip_near); in zink_create_rasterizer_state()
581 state->hw_state.depth_clip = rs_state->depth_clip_near; in zink_create_rasterizer_state()
582 state->hw_state.force_persample_interp = rs_state->force_persample_interp; in zink_create_rasterizer_state()
583 state->hw_state.pv_last = !rs_state->flatshade_first; in zink_create_rasterizer_state()
584 state->hw_state.clip_halfz = rs_state->clip_halfz; in zink_create_rasterizer_state()
586 assert(rs_state->fill_front <= PIPE_POLYGON_MODE_POINT); in zink_create_rasterizer_state()
587 if (rs_state->fill_back != rs_state->fill_front) in zink_create_rasterizer_state()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_render_stencilref.c62 struct r300_rs_state *rs = (struct r300_rs_state*)r300->rs_state.state; in r300_stencilref_begin()
73 r300_mark_atom_dirty(r300, &r300->rs_state); in r300_stencilref_begin()
80 struct r300_rs_state *rs = (struct r300_rs_state*)r300->rs_state.state; in r300_stencilref_switch_side()
87 r300_mark_atom_dirty(r300, &r300->rs_state); in r300_stencilref_switch_side()
95 struct r300_rs_state *rs = (struct r300_rs_state*)r300->rs_state.state; in r300_stencilref_end()
103 r300_mark_atom_dirty(r300, &r300->rs_state); in r300_stencilref_end()
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
5 dEQP-VK.dynamic_state.rs_state.depth_bias_clamp
6 dEQP-VK.dynamic_state.rs_state.line_width
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_draw.c126 struct pipe_rasterizer_state *rs_state = crocus_get_rast_state(ice); in crocus_update_draw_info() local
127 if (mode == PIPE_PRIM_QUAD_STRIP && !rs_state->flatshade && in crocus_update_draw_info()
128 rs_state->fill_front == PIPE_POLYGON_MODE_FILL && in crocus_update_draw_info()
129 rs_state->fill_back == PIPE_POLYGON_MODE_FILL) in crocus_update_draw_info()
133 !rs_state->flatshade && in crocus_update_draw_info()
134 rs_state->fill_front == PIPE_POLYGON_MODE_FILL && in crocus_update_draw_info()
135 rs_state->fill_back == PIPE_POLYGON_MODE_FILL) in crocus_update_draw_info()
Dcrocus_program.c2117 struct pipe_rasterizer_state *rs_state = crocus_get_rast_state(ice); in crocus_update_compiled_clip() local
2118 key.pv_first = rs_state->flatshade_first; in crocus_update_compiled_clip()
2120 if (rs_state->clip_plane_enable) in crocus_update_compiled_clip()
2121 key.nr_userclip = util_logbase2(rs_state->clip_plane_enable) + 1; in crocus_update_compiled_clip()
2129 if (rs_state->cull_face == PIPE_FACE_FRONT_AND_BACK) in crocus_update_compiled_clip()
2137 if (!(rs_state->cull_face & PIPE_FACE_FRONT)) { in crocus_update_compiled_clip()
2138 switch (rs_state->fill_front) { in crocus_update_compiled_clip()
2145 offset_front = rs_state->offset_line; in crocus_update_compiled_clip()
2149 offset_front = rs_state->offset_point; in crocus_update_compiled_clip()
2154 if (!(rs_state->cull_face & PIPE_FACE_BACK)) { in crocus_update_compiled_clip()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rs.h33 struct rs_state { struct
87 const struct rs_state *rs);
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.cpp504 const struct pipe_rasterizer_state *rs_state) in d3d12_create_rasterizer_state() argument
510 cso->base = *rs_state; in d3d12_create_rasterizer_state()
512 assert(rs_state->depth_clip_near == rs_state->depth_clip_far); in d3d12_create_rasterizer_state()
514 switch (rs_state->cull_face) { in d3d12_create_rasterizer_state()
516 if (rs_state->fill_front != rs_state->fill_back) { in d3d12_create_rasterizer_state()
519 cso->desc.FillMode = fill_mode(rs_state->fill_front); in d3d12_create_rasterizer_state()
524 struct pipe_rasterizer_state templ = *rs_state; in d3d12_create_rasterizer_state()
526 templ.fill_front = rs_state->fill_back; in d3d12_create_rasterizer_state()
535 cso->desc.FillMode = fill_mode(rs_state->fill_front); in d3d12_create_rasterizer_state()
541 cso->desc.FillMode = fill_mode(rs_state->fill_back); in d3d12_create_rasterizer_state()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c106 struct pipe_rasterizer_state rs_state; member
426 bool ms = state->rs_state.multisample; in emit_state()
430 state->rs_state.multisample = false; in emit_state()
433 memcpy(&state->rs_state.offset_units, &state->depth_bias, sizeof(float) * 3); in emit_state()
434 state->rs_state.offset_tri = true; in emit_state()
435 state->rs_state.offset_line = true; in emit_state()
436 state->rs_state.offset_point = true; in emit_state()
438 memset(&state->rs_state.offset_units, 0, sizeof(float) * 3); in emit_state()
439 state->rs_state.offset_tri = false; in emit_state()
440 state->rs_state.offset_line = false; in emit_state()
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
5 dEQP-VK.dynamic_state.rs_state.depth_bias_clamp
6 dEQP-VK.dynamic_state.rs_state.line_width
7 dEQP-VK.dynamic_state.rs_state.nonzero_depth_bias_constant
8 dEQP-VK.dynamic_state.rs_state.nonzero_depth_bias_clamp
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
5 dEQP-VK.dynamic_state.rs_state.depth_bias_clamp
6 dEQP-VK.dynamic_state.rs_state.line_width
7 dEQP-VK.dynamic_state.rs_state.nonzero_depth_bias_constant
8 dEQP-VK.dynamic_state.rs_state.nonzero_depth_bias_clamp
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
5 dEQP-VK.dynamic_state.rs_state.depth_bias_clamp
6 dEQP-VK.dynamic_state.rs_state.line_width
7 dEQP-VK.dynamic_state.rs_state.nonzero_depth_bias_constant
8 dEQP-VK.dynamic_state.rs_state.nonzero_depth_bias_clamp
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c135 void *rs_state[2][2]; /**< [scissor][msaa] */ member
168 struct pipe_rasterizer_state rs_state; in util_blitter_create() local
293 memset(&rs_state, 0, sizeof(rs_state)); in util_blitter_create()
294 rs_state.cull_face = PIPE_FACE_NONE; in util_blitter_create()
295 rs_state.half_pixel_center = 1; in util_blitter_create()
296 rs_state.bottom_edge_rule = 1; in util_blitter_create()
297 rs_state.flatshade = 1; in util_blitter_create()
298 rs_state.depth_clip_near = 1; in util_blitter_create()
299 rs_state.depth_clip_far = 1; in util_blitter_create()
304 rs_state.scissor = scissor; in util_blitter_create()
[all …]
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c457 const struct pipe_rasterizer_state *rs_state) in virgl_create_rasterizer_state() argument
464 vrs->rs = *rs_state; in virgl_create_rasterizer_state()
467 assert(rs_state->depth_clip_near || in virgl_create_rasterizer_state()
470 virgl_encode_rasterizer_state(vctx, vrs->handle, rs_state); in virgl_create_rasterizer_state()
475 void *rs_state) in virgl_bind_rasterizer_state() argument
479 if (rs_state) { in virgl_bind_rasterizer_state()
480 struct virgl_rasterizer_state *vrs = rs_state; in virgl_bind_rasterizer_state()
481 vctx->rs_state = *vrs; in virgl_bind_rasterizer_state()
488 void *rs_state) in virgl_delete_rasterizer_state() argument
491 struct virgl_rasterizer_state *vrs = rs_state; in virgl_delete_rasterizer_state()
[all …]

12