- struct si_pm4_state pm4;
- /* poly offset states for 16-bit, 24-bit, and 32-bit zbuffers */
- struct si_pm4_state *pm4_poly_offset;
- unsigned pa_sc_line_stipple;
- unsigned pa_cl_clip_cntl;
- float line_width;
- float max_point_size;
- unsigned sprite_coord_enable:8;
- unsigned clip_plane_enable:8;
- unsigned half_pixel_center:1;
- unsigned flatshade:1;
- unsigned two_side:1;
- unsigned multisample_enable:1;
- unsigned force_persample_interp:1;
- unsigned line_stipple_enable:1;
- unsigned poly_stipple_enable:1;
- unsigned line_smooth:1;
- unsigned poly_smooth:1;
- unsigned uses_poly_offset:1;
- unsigned clamp_fragment_color:1;
- unsigned clamp_vertex_color:1;
- unsigned rasterizer_discard:1;
- unsigned scissor_enable:1;
- unsigned clip_halfz:1;
+ struct si_pm4_state pm4;
+ /* poly offset states for 16-bit, 24-bit, and 32-bit zbuffers */
+ struct si_pm4_state *pm4_poly_offset;
+ unsigned pa_sc_line_stipple;
+ unsigned pa_cl_clip_cntl;
+ float line_width;
+ float max_point_size;
+ unsigned sprite_coord_enable : 8;
+ unsigned clip_plane_enable : 8;
+ unsigned half_pixel_center : 1;
+ unsigned flatshade : 1;
+ unsigned flatshade_first : 1;
+ unsigned two_side : 1;
+ unsigned multisample_enable : 1;
+ unsigned force_persample_interp : 1;
+ unsigned line_stipple_enable : 1;
+ unsigned poly_stipple_enable : 1;
+ unsigned line_smooth : 1;
+ unsigned poly_smooth : 1;
+ unsigned uses_poly_offset : 1;
+ unsigned clamp_fragment_color : 1;
+ unsigned clamp_vertex_color : 1;
+ unsigned rasterizer_discard : 1;
+ unsigned scissor_enable : 1;
+ unsigned clip_halfz : 1;
+ unsigned cull_front : 1;
+ unsigned cull_back : 1;
+ unsigned depth_clamp_any : 1;
+ unsigned provoking_vertex_first : 1;
+ unsigned polygon_mode_enabled : 1;
+ unsigned polygon_mode_is_lines : 1;