Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.c96 VkPipelineRasterizationStateCreateInfo rast_state = {}; in zink_create_gfx_pipeline() local
97 rast_state.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; in zink_create_gfx_pipeline()
99 rast_state.depthClampEnable = state->rast_state->depth_clamp; in zink_create_gfx_pipeline()
100 rast_state.rasterizerDiscardEnable = state->rast_state->rasterizer_discard; in zink_create_gfx_pipeline()
101 rast_state.polygonMode = state->rast_state->polygon_mode; in zink_create_gfx_pipeline()
102 rast_state.cullMode = state->rast_state->cull_mode; in zink_create_gfx_pipeline()
103 rast_state.frontFace = state->rast_state->front_face; in zink_create_gfx_pipeline()
105 rast_state.depthBiasEnable = VK_TRUE; in zink_create_gfx_pipeline()
106 rast_state.depthBiasConstantFactor = 0.0; in zink_create_gfx_pipeline()
107 rast_state.depthBiasClamp = 0.0; in zink_create_gfx_pipeline()
[all …]
Dzink_state.c450 ctx->rast_state = cso; in zink_bind_rasterizer_state()
452 if (ctx->rast_state) { in zink_bind_rasterizer_state()
453 if (ctx->gfx_pipeline_state.rast_state != &ctx->rast_state->hw_state) { in zink_bind_rasterizer_state()
454 ctx->gfx_pipeline_state.rast_state = &ctx->rast_state->hw_state; in zink_bind_rasterizer_state()
458 if (ctx->line_width != ctx->rast_state->line_width) { in zink_bind_rasterizer_state()
459 ctx->line_width = ctx->rast_state->line_width; in zink_bind_rasterizer_state()
Dzink_draw.c213 struct zink_rasterizer_state *rast_state = ctx->rast_state; in zink_draw_vbo() local
233 util_primconvert_save_rasterizer_state(ctx->primconvert, &rast_state->base); in zink_draw_vbo()
255 depth_bias = rast_state->offset_point; in zink_draw_vbo()
259 depth_bias = rast_state->offset_line; in zink_draw_vbo()
263 depth_bias = rast_state->offset_tri; in zink_draw_vbo()
427 if (ctx->rast_state->base.scissor) in zink_draw_vbo()
439 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo()
459 …vkCmdSetDepthBias(batch->cmdbuf, rast_state->offset_units, rast_state->offset_clamp, rast_state->o… in zink_draw_vbo()
Dzink_pipeline.h50 struct zink_rasterizer_hw_state *rast_state; member
Dzink_context.h97 struct zink_rasterizer_state *rast_state; member
Dzink_blit.c201 util_blitter_save_rasterizer(ctx->blitter, ctx->rast_state); in zink_blit()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c77 struct pipe_rasterizer_state *rast_state, in nine_convert_rasterizer_state() argument
138 *rast_state = rast; in nine_convert_rasterizer_state()
/external/mesa3d/src/freedreno/vulkan/
Dtu_private.h1093 struct tu_draw_state load_state, rast_state, blend_state; member
Dtu_cmd_buffer.c2088 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_RAST, pipeline->rast_state); in tu_CmdBindPipeline()
3332 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_RAST, pipeline->rast_state); in tu6_draw_common()
Dtu_pipeline.c2405 pipeline->rast_state = tu_cs_draw_state(&pipeline->cs, &cs, 13); in tu_pipeline_builder_parse_rasterization()
/external/mesa3d/docs/relnotes/
D19.3.0.rst943 - zink: pass line width from rast_state to gfx_pipeline_state.