Lines Matching refs:swr
895 SWR_SURFACE_STATE *swr = &swr_res->swr; in swr_update_texture_state() local
899 swr = &swr_res->secondary; in swr_update_texture_state()
905 jit_tex->base_ptr = (uint8_t*)swr->xpBaseAddress; in swr_update_texture_state()
906 jit_tex->num_samples = swr->numSamples; in swr_update_texture_state()
917 swr->qpitch * swr->pitch; in swr_update_texture_state()
928 jit_tex->row_stride[level] = swr->pitch; in swr_update_texture_state()
929 jit_tex->img_stride[level] = swr->qpitch * swr->pitch; in swr_update_texture_state()
1036 const struct swr_resource *swr = swr_resource(sf->texture); in swr_change_rt() local
1037 const SWR_SURFACE_STATE *swr_surface = &swr->swr; in swr_change_rt()
1040 if (attachment == SWR_ATTACHMENT_STENCIL && swr->secondary.xpBaseAddress) { in swr_change_rt()
1041 swr_surface = &swr->secondary; in swr_change_rt()
1293 fb->samples = swr_resource(fb->cbufs[0]->texture)->swr.numSamples; in swr_update_derived()
1342 rastState->depthFormat = swr_resource(zb->texture)->swr.format; in swr_update_derived()
1947 compileState.format = colorBuffer->swr.format; in swr_update_derived()
2143 struct swr_context *swr = swr_context(pipe); in swr_set_so_targets() local
2150 (struct pipe_stream_output_target **)&swr->so_targets[i], in swr_set_so_targets()
2154 for (/* fall-through */; i < swr->num_so_targets; i++) { in swr_set_so_targets()
2156 (struct pipe_stream_output_target **)&swr->so_targets[i], NULL); in swr_set_so_targets()
2159 swr->num_so_targets = num_targets; in swr_set_so_targets()
2160 swr->swrDC.soPrims = &swr->so_primCounter; in swr_set_so_targets()
2162 swr->dirty |= SWR_NEW_SO; in swr_set_so_targets()
2168 struct swr_context *swr = swr_context(pipe); in swr_set_patch_vertices() local
2170 swr->patch_vertices = patch_vertices; in swr_set_patch_vertices()