Home
last modified time | relevance | path

Searched refs:gras_su_cntl (Results 1 – 6 of 6) 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.0); 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.c669 OUT_RING(ring, rasterizer->gras_su_cntl | in fd5_emit_state()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c1976 uint32_t gras_su_cntl = 0; in tu6_gras_su_cntl() local
1979 gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_FRONT; in tu6_gras_su_cntl()
1981 gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_BACK; in tu6_gras_su_cntl()
1984 gras_su_cntl |= A6XX_GRAS_SU_CNTL_FRONT_CW; in tu6_gras_su_cntl()
1986 gras_su_cntl |= in tu6_gras_su_cntl()
1990 gras_su_cntl |= A6XX_GRAS_SU_CNTL_POLY_OFFSET; in tu6_gras_su_cntl()
1992 gras_su_cntl |= A6XX_GRAS_SU_CNTL_LINE_MODE(line_mode); in tu6_gras_su_cntl()
1995 gras_su_cntl |= in tu6_gras_su_cntl()
2000 return gras_su_cntl; in tu6_gras_su_cntl()
2834 pipeline->gras_su_cntl = in tu_pipeline_builder_parse_rasterization()
[all …]
Dtu_cmd_buffer.c2261 UPDATE_REG(gras_su_cntl, GRAS_SU_CNTL); in tu_CmdBindPipeline()
2309 cmd->state.gras_su_cntl &= ~A6XX_GRAS_SU_CNTL_LINEHALFWIDTH__MASK; in tu_CmdSetLineWidth()
2310 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_LINEHALFWIDTH(lineWidth / 2.0f); in tu_CmdSetLineWidth()
2418 cmd->state.gras_su_cntl &= in tu_CmdSetCullModeEXT()
2422 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_FRONT; in tu_CmdSetCullModeEXT()
2424 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_CULL_BACK; in tu_CmdSetCullModeEXT()
2434 cmd->state.gras_su_cntl &= ~A6XX_GRAS_SU_CNTL_FRONT_CW; in tu_CmdSetFrontFaceEXT()
2437 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_FRONT_CW; in tu_CmdSetFrontFaceEXT()
2591 cmd->state.gras_su_cntl &= ~A6XX_GRAS_SU_CNTL_POLY_OFFSET; in tu_CmdSetDepthBiasEnableEXT()
2593 cmd->state.gras_su_cntl |= A6XX_GRAS_SU_CNTL_POLY_OFFSET; in tu_CmdSetDepthBiasEnableEXT()
[all …]
Dtu_private.h978 uint32_t gras_su_cntl, rb_depth_cntl, rb_stencil_cntl; member
1208 uint32_t gras_su_cntl, gras_su_cntl_mask; member