Home
last modified time | relevance | path

Searched refs:gras_su_cntl (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c67 so->gras_su_cntl = A5XX_GRAS_SU_CNTL_LINEHALFWIDTH(cso->line_width / 2.0f); in fd5_rasterizer_state_create()
78 so->gras_su_cntl |= A5XX_GRAS_SU_CNTL_CULL_FRONT; in fd5_rasterizer_state_create()
80 so->gras_su_cntl |= A5XX_GRAS_SU_CNTL_CULL_BACK; in fd5_rasterizer_state_create()
82 so->gras_su_cntl |= A5XX_GRAS_SU_CNTL_FRONT_CW; in fd5_rasterizer_state_create()
84 so->gras_su_cntl |= A5XX_GRAS_SU_CNTL_POLY_OFFSET; in fd5_rasterizer_state_create()
Dfd5_rasterizer.h42 uint32_t gras_su_cntl; member
Dfd5_emit.c661 OUT_RING(ring, rasterizer->gras_su_cntl | in fd5_emit_state()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.h129 uint32_t gras_su_cntl, gras_su_cntl_mask; member
Dtu_pipeline.c2085 uint32_t gras_su_cntl = 0; in tu6_gras_su_cntl() local
2088 gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_FRONT; in tu6_gras_su_cntl()
2090 gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_BACK; in tu6_gras_su_cntl()
2093 gras_su_cntl |= A6XX_GRAS_SU_CNTL_FRONT_CW; in tu6_gras_su_cntl()
2095 gras_su_cntl |= in tu6_gras_su_cntl()
2099 gras_su_cntl |= A6XX_GRAS_SU_CNTL_POLY_OFFSET; in tu6_gras_su_cntl()
2101 gras_su_cntl |= A6XX_GRAS_SU_CNTL_LINE_MODE(line_mode); in tu6_gras_su_cntl()
2104 gras_su_cntl |= in tu6_gras_su_cntl()
2109 return gras_su_cntl; in tu6_gras_su_cntl()
3446 pipeline->gras_su_cntl = in tu_pipeline_builder_parse_rasterization()
[all …]
Dtu_cmd_buffer.h323 uint32_t gras_su_cntl, rb_depth_cntl, rb_stencil_cntl; member
Dtu_cmd_buffer.c2527 UPDATE_REG(gras_su_cntl, GRAS_SU_CNTL); in tu_CmdBindPipeline()
2617 cmd->state.gras_su_cntl &= ~A6XX_GRAS_SU_CNTL_LINEHALFWIDTH__MASK; in tu_CmdSetLineWidth()
2618 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_LINEHALFWIDTH(lineWidth / 2.0f); in tu_CmdSetLineWidth()
2726 cmd->state.gras_su_cntl &= in tu_CmdSetCullModeEXT()
2730 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_FRONT; in tu_CmdSetCullModeEXT()
2732 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_BACK; in tu_CmdSetCullModeEXT()
2742 cmd->state.gras_su_cntl &= ~A6XX_GRAS_SU_CNTL_FRONT_CW; in tu_CmdSetFrontFaceEXT()
2745 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_FRONT_CW; in tu_CmdSetFrontFaceEXT()
2899 cmd->state.gras_su_cntl &= ~A6XX_GRAS_SU_CNTL_POLY_OFFSET; in tu_CmdSetDepthBiasEnableEXT()
2901 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_POLY_OFFSET; in tu_CmdSetDepthBiasEnableEXT()
[all …]