Lines Matching refs:rasterizer
884 const struct pipe_rasterizer_state *rasterizer) in i915_create_rasterizer_state() argument
888 cso->templ = *rasterizer; in i915_create_rasterizer_state()
889 cso->color_interp = rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR; in i915_create_rasterizer_state()
890 cso->light_twoside = rasterizer->light_twoside; in i915_create_rasterizer_state()
892 cso->ds[1].f = rasterizer->offset_scale; in i915_create_rasterizer_state()
893 if (rasterizer->poly_stipple_enable) { in i915_create_rasterizer_state()
897 if (rasterizer->scissor) in i915_create_rasterizer_state()
902 switch (rasterizer->cull_face) { in i915_create_rasterizer_state()
907 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
913 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
924 int line_width = CLAMP((int)(rasterizer->line_width * 2), 1, 0xf); in i915_create_rasterizer_state()
928 if (rasterizer->line_smooth) in i915_create_rasterizer_state()
933 int point_size = CLAMP((int) rasterizer->point_size, 1, 0xff); in i915_create_rasterizer_state()
938 if (rasterizer->flatshade) { in i915_create_rasterizer_state()
944 cso->LIS7 = fui( rasterizer->offset_units ); in i915_create_rasterizer_state()
955 if (i915->rasterizer == raster) in i915_bind_rasterizer_state()
958 i915->rasterizer = (struct i915_rasterizer_state *)raster; in i915_bind_rasterizer_state()
962 (i915->rasterizer ? &(i915->rasterizer->templ) : NULL), in i915_bind_rasterizer_state()