Home
last modified time | relevance | path

Searched refs:rast_state (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.c140 VkPipelineRasterizationStateCreateInfo rast_state = {0}; in zink_create_gfx_pipeline() local
141 rast_state.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; in zink_create_gfx_pipeline()
143 rast_state.depthClampEnable = hw_rast_state->depth_clamp; in zink_create_gfx_pipeline()
144 rast_state.rasterizerDiscardEnable = hw_rast_state->rasterizer_discard; in zink_create_gfx_pipeline()
145 rast_state.polygonMode = hw_rast_state->polygon_mode; in zink_create_gfx_pipeline()
146 rast_state.cullMode = hw_rast_state->cull_mode; in zink_create_gfx_pipeline()
147 rast_state.frontFace = state->dyn_state1.front_face; in zink_create_gfx_pipeline()
149 rast_state.depthBiasEnable = VK_TRUE; in zink_create_gfx_pipeline()
150 rast_state.depthBiasConstantFactor = 0.0; in zink_create_gfx_pipeline()
151 rast_state.depthBiasClamp = 0.0; in zink_create_gfx_pipeline()
[all …]
Dzink_state.c677 …bool point_quad_rasterization = ctx->rast_state ? ctx->rast_state->base.point_quad_rasterization :… in zink_bind_rasterizer_state()
678 bool scissor = ctx->rast_state ? ctx->rast_state->base.scissor : false; in zink_bind_rasterizer_state()
679 bool pv_last = ctx->rast_state ? ctx->rast_state->hw_state.pv_last : false; in zink_bind_rasterizer_state()
680 ctx->rast_state = cso; in zink_bind_rasterizer_state()
682 if (ctx->rast_state) { in zink_bind_rasterizer_state()
684 pv_last != ctx->rast_state->hw_state.pv_last && in zink_bind_rasterizer_state()
689 memcpy(&rast_bits, &ctx->rast_state->hw_state, sizeof(struct zink_rasterizer_hw_state)); in zink_bind_rasterizer_state()
690 ctx->gfx_pipeline_state.rast_state = rast_bits & BITFIELD_MASK(ZINK_RAST_HW_STATE_SIZE); in zink_bind_rasterizer_state()
695 if (zink_get_last_vertex_key(ctx)->clip_halfz != ctx->rast_state->base.clip_halfz) { in zink_bind_rasterizer_state()
696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state()
[all …]
Dzink_draw.cpp467 struct zink_rasterizer_state *rast_state = ctx->rast_state; in zink_draw_vbo() local
563 if (points_changed && ctx->rast_state->base.point_quad_rasterization) in zink_draw_vbo()
598 ctx->rast_state->base.clip_halfz ? in zink_draw_vbo()
612 if (ctx->rast_state->base.scissor) { in zink_draw_vbo()
684 screen->info.have_EXT_line_rasterization && rast_state->base.line_stipple_enable) in zink_draw_vbo()
685 …VKCTX(CmdSetLineStippleEXT)(batch->state->cmdbuf, rast_state->base.line_stipple_factor, rast_state in zink_draw_vbo()
695 depth_bias = rast_state->offset_point; in zink_draw_vbo()
699 depth_bias = rast_state->offset_line; in zink_draw_vbo()
703 depth_bias = rast_state->offset_tri; in zink_draw_vbo()
710 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo()
[all …]
Dzink_program.h333 bool disable = !ctx->gfx_pipeline_state.has_points || !ctx->rast_state->base.sprite_coord_enable; in zink_set_fs_point_coord_key()
334 uint8_t coord_replace_bits = disable ? 0 : ctx->rast_state->base.sprite_coord_enable; in zink_set_fs_point_coord_key()
335 bool coord_replace_yinvert = disable ? false : !!ctx->rast_state->base.sprite_coord_mode; in zink_set_fs_point_coord_key()
Dzink_pipeline.h43 uint32_t rast_state : ZINK_RAST_HW_STATE_SIZE; //zink_rasterizer_hw_state member
Dzink_context.h223 struct zink_rasterizer_state *rast_state; member
Dzink_blit.c324 util_blitter_save_rasterizer(ctx->blitter, ctx->rast_state); in zink_blit_begin()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c77 struct pipe_rasterizer_state *rast_state, in nine_convert_rasterizer_state() argument
139 *rast_state = rast; in nine_convert_rasterizer_state()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_private.h1220 struct tu_draw_state load_state, rast_state, blend_state; member
Dtu_cmd_buffer.c2204 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_RAST, pipeline->rast_state); in tu_CmdBindPipeline()
3977 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_RAST, pipeline->rast_state); in tu6_draw_common()
Dtu_pipeline.c2782 pipeline->rast_state = tu_cs_draw_state(&pipeline->cs, &cs, cs_size); in tu_pipeline_builder_parse_rasterization()
/third_party/mesa3d/docs/relnotes/
D19.3.0.rst943 - zink: pass line width from rast_state to gfx_pipeline_state.