Lines Matching refs:rastState

1252       SWR_RASTSTATE *rastState = &ctx->derived.rastState;  in swr_update_derived()  local
1253 rastState->cullMode = swr_convert_cull_mode(rasterizer->cull_face); in swr_update_derived()
1254 rastState->frontWinding = rasterizer->front_ccw in swr_update_derived()
1257 rastState->scissorEnable = rasterizer->scissor; in swr_update_derived()
1258 rastState->pointSize = rasterizer->point_size > 0.0f in swr_update_derived()
1261 rastState->lineWidth = rasterizer->line_width > 0.0f in swr_update_derived()
1265 rastState->pointParam = rasterizer->point_size_per_vertex; in swr_update_derived()
1267 rastState->pointSpriteEnable = rasterizer->sprite_coord_enable; in swr_update_derived()
1268 rastState->pointSpriteTopOrigin = in swr_update_derived()
1279 rastState->sampleCount = GetSampleCount(fb->samples); in swr_update_derived()
1280 rastState->forcedSampleCount = false; in swr_update_derived()
1281 rastState->bIsCenterPattern = !rasterizer->multisample; in swr_update_derived()
1282 rastState->pixelLocation = SWR_PIXEL_LOCATION_CENTER; in swr_update_derived()
1288 rastState->samplePositions.SetXi(i, sample[0] << 4); in swr_update_derived()
1289 rastState->samplePositions.SetYi(i, sample[1] << 4); in swr_update_derived()
1290 rastState->samplePositions.SetX (i, sample[0] / 16.0f); in swr_update_derived()
1291 rastState->samplePositions.SetY (i, sample[1] / 16.0f); in swr_update_derived()
1293 rastState->samplePositions.PrecalcSampleData(fb->samples); in swr_update_derived()
1310 rastState->depthBias = rasterizer->offset_units; in swr_update_derived()
1311 rastState->slopeScaledDepthBias = rasterizer->offset_scale; in swr_update_derived()
1312 rastState->depthBiasClamp = rasterizer->offset_clamp; in swr_update_derived()
1314 rastState->depthBias = 0; in swr_update_derived()
1315 rastState->slopeScaledDepthBias = 0; in swr_update_derived()
1316 rastState->depthBiasClamp = 0; in swr_update_derived()
1320 rastState->fillMode = swr_convert_fill_mode(rasterizer->fill_front); in swr_update_derived()
1324 rastState->depthFormat = swr_resource(zb->texture)->swr.format; in swr_update_derived()
1326 rastState->depthClipEnable = rasterizer->depth_clip_near; in swr_update_derived()
1327 rastState->clipEnable = rasterizer->depth_clip_near | rasterizer->depth_clip_far; in swr_update_derived()
1328 rastState->clipHalfZ = rasterizer->clip_halfz; in swr_update_derived()
1330 ctx->api.pfnSwrSetRastState(ctx->swrContext, rastState); in swr_update_derived()
1715 (ctx->derived.rastState.fillMode == SWR_FILLMODE_SOLID); in swr_update_derived()