Home | History | Annotate | Download | only in llvmpipe

Lines Matching defs:zsbuf

155    if (fb->zsbuf) {
156 struct pipe_surface *zsbuf = scene->fb.zsbuf;
157 assert(zsbuf->u.tex.first_layer == zsbuf->u.tex.last_layer);
158 scene->zsbuf.stride = llvmpipe_resource_stride(zsbuf->texture, zsbuf->u.tex.level);
159 scene->zsbuf.blocksize =
160 util_format_get_blocksize(zsbuf->texture->format);
162 scene->zsbuf.map = llvmpipe_resource_map(zsbuf->texture,
163 zsbuf->u.tex.level,
164 zsbuf->u.tex.first_layer,
193 if (scene->zsbuf.map) {
194 struct pipe_surface *zsbuf = scene->fb.zsbuf;
195 llvmpipe_resource_unmap(zsbuf->texture,
196 zsbuf->u.tex.level,
197 zsbuf->u.tex.first_layer);
198 scene->zsbuf.map = NULL;