/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 78 rast_state.depthClampEnable = state->rast_state->depth_clamp; in zink_create_gfx_pipeline() 79 rast_state.rasterizerDiscardEnable = state->rast_state->rasterizer_discard; in zink_create_gfx_pipeline() 80 rast_state.polygonMode = state->rast_state->polygon_mode; in zink_create_gfx_pipeline() 81 rast_state.cullMode = state->rast_state->cull_mode; in zink_create_gfx_pipeline() 82 rast_state.frontFace = state->rast_state->front_face; in zink_create_gfx_pipeline() 84 rast_state.depthBiasEnable = VK_TRUE; in zink_create_gfx_pipeline() 85 rast_state.depthBiasConstantFactor = 0.0; in zink_create_gfx_pipeline() 86 rast_state.depthBiasClamp = 0.0; in zink_create_gfx_pipeline() 87 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 88 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_draw.c | 205 struct zink_rasterizer_state *rast_state = ctx->rast_state; in zink_draw_vbo() local 216 util_primconvert_save_rasterizer_state(ctx->primconvert, &rast_state->base); in zink_draw_vbo() 234 depth_bias = rast_state->offset_point; in zink_draw_vbo() 238 depth_bias = rast_state->offset_line; in zink_draw_vbo() 242 depth_bias = rast_state->offset_tri; in zink_draw_vbo() 373 if (ctx->rast_state->base.scissor) in zink_draw_vbo() 382 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo() 393 …vkCmdSetDepthBias(batch->cmdbuf, rast_state->offset_units, rast_state->offset_clamp, rast_state->o… in zink_draw_vbo()
|
/dports/lang/clover/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
H A D | zink_draw.cpp | 472 struct zink_rasterizer_state *rast_state = ctx->rast_state; in zink_draw_vbo() local 568 if (points_changed && ctx->rast_state->base.point_quad_rasterization) in zink_draw_vbo() 603 ctx->rast_state->base.clip_halfz ? in zink_draw_vbo() 617 if (ctx->rast_state->base.scissor) { in zink_draw_vbo() 690 …VKCTX(CmdSetLineStippleEXT)(batch->state->cmdbuf, rast_state->base.line_stipple_factor, rast_state… in zink_draw_vbo() 700 depth_bias = rast_state->offset_point; in zink_draw_vbo() 704 depth_bias = rast_state->offset_line; in zink_draw_vbo() 708 depth_bias = rast_state->offset_tri; in zink_draw_vbo() 715 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo() 717 VKCTX(CmdSetLineWidth)(batch->state->cmdbuf, rast_state->line_width); in zink_draw_vbo() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
H A D | zink_draw.cpp | 472 struct zink_rasterizer_state *rast_state = ctx->rast_state; in zink_draw_vbo() local 568 if (points_changed && ctx->rast_state->base.point_quad_rasterization) in zink_draw_vbo() 603 ctx->rast_state->base.clip_halfz ? in zink_draw_vbo() 617 if (ctx->rast_state->base.scissor) { in zink_draw_vbo() 690 …VKCTX(CmdSetLineStippleEXT)(batch->state->cmdbuf, rast_state->base.line_stipple_factor, rast_state… in zink_draw_vbo() 700 depth_bias = rast_state->offset_point; in zink_draw_vbo() 704 depth_bias = rast_state->offset_line; in zink_draw_vbo() 708 depth_bias = rast_state->offset_tri; in zink_draw_vbo() 715 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo() 717 VKCTX(CmdSetLineWidth)(batch->state->cmdbuf, rast_state->line_width); in zink_draw_vbo() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
H A D | zink_draw.cpp | 472 struct zink_rasterizer_state *rast_state = ctx->rast_state; in zink_draw_vbo() local 568 if (points_changed && ctx->rast_state->base.point_quad_rasterization) in zink_draw_vbo() 603 ctx->rast_state->base.clip_halfz ? in zink_draw_vbo() 617 if (ctx->rast_state->base.scissor) { in zink_draw_vbo() 690 …VKCTX(CmdSetLineStippleEXT)(batch->state->cmdbuf, rast_state->base.line_stipple_factor, rast_state… in zink_draw_vbo() 700 depth_bias = rast_state->offset_point; in zink_draw_vbo() 704 depth_bias = rast_state->offset_line; in zink_draw_vbo() 708 depth_bias = rast_state->offset_tri; in zink_draw_vbo() 715 if (line_width_needed(reduced_prim, rast_state->hw_state.polygon_mode)) { in zink_draw_vbo() 717 VKCTX(CmdSetLineWidth)(batch->state->cmdbuf, rast_state->line_width); in zink_draw_vbo() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 167 rast_state.cullMode = hw_rast_state->cull_mode; in zink_create_gfx_pipeline() 170 rast_state.depthBiasEnable = VK_TRUE; in zink_create_gfx_pipeline() 171 rast_state.depthBiasConstantFactor = 0.0; in zink_create_gfx_pipeline() 172 rast_state.depthBiasClamp = 0.0; in zink_create_gfx_pipeline() 173 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 174 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 182 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 183 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 241 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 249 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 679 …bool point_quad_rasterization = ctx->rast_state ? ctx->rast_state->base.point_quad_rasterization :… in zink_bind_rasterizer_state() 680 bool scissor = ctx->rast_state ? ctx->rast_state->base.scissor : false; in zink_bind_rasterizer_state() 681 bool pv_last = ctx->rast_state ? ctx->rast_state->hw_state.pv_last : false; in zink_bind_rasterizer_state() 682 …bool force_persample_interp = ctx->rast_state ? ctx->rast_state->hw_state.force_persample_interp :… in zink_bind_rasterizer_state() 683 bool clip_halfz = ctx->rast_state ? ctx->rast_state->hw_state.clip_halfz : false; in zink_bind_rasterizer_state() 684 bool rasterizer_discard = ctx->rast_state ? ctx->rast_state->base.rasterizer_discard : false; in zink_bind_rasterizer_state() 685 ctx->rast_state = cso; in zink_bind_rasterizer_state() 687 if (ctx->rast_state) { in zink_bind_rasterizer_state() 689 pv_last != ctx->rast_state->hw_state.pv_last && in zink_bind_rasterizer_state() 700 if (clip_halfz != ctx->rast_state->base.clip_halfz) { in zink_bind_rasterizer_state() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/gallium/drivers/zink/ |
H A D | zink_pipeline.c | 146 rast_state.cullMode = hw_rast_state->cull_mode; 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() 152 rast_state.depthBiasSlopeFactor = 0.0; in zink_create_gfx_pipeline() 153 rast_state.lineWidth = 1.0f; in zink_create_gfx_pipeline() 161 pv_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 162 rast_state.pNext = &pv_state; in zink_create_gfx_pipeline() 216 rast_line_state.pNext = rast_state.pNext; in zink_create_gfx_pipeline() 224 rast_state.pNext = &rast_line_state; in zink_create_gfx_pipeline() [all …]
|
H A D | zink_state.c | 677 …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() 696 zink_set_last_vertex_key(ctx)->clip_halfz = ctx->rast_state->base.clip_halfz; in zink_bind_rasterizer_state() 700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state() 701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state() 704 if (ctx->rast_state->base.point_quad_rasterization != point_quad_rasterization) in zink_bind_rasterizer_state() [all …]
|