mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/
This commit is contained in:
parent
ef9a619ba9
commit
073048c872
4 changed files with 5 additions and 5 deletions
|
|
@ -146,7 +146,7 @@ st_BlitFramebuffer(GLcontext *ctx,
|
|||
struct st_renderbuffer *dstRb =
|
||||
st_renderbuffer(drawFB->_ColorDrawBuffers[0]);
|
||||
struct pipe_surface *srcSurf = srcRb->surface;
|
||||
struct pipe_sampler_view *srcView = st_renderbuffer_get_sampler_view(srcRb, pipe);
|
||||
struct pipe_sampler_view *srcView = st_get_renderbuffer_sampler_view(srcRb, pipe);
|
||||
struct pipe_surface *dstSurf = dstRb->surface;
|
||||
|
||||
util_blit_pixels(st->blit,
|
||||
|
|
@ -182,7 +182,7 @@ st_BlitFramebuffer(GLcontext *ctx,
|
|||
if ((mask & depthStencil) == depthStencil &&
|
||||
srcDepthSurf == srcStencilSurf &&
|
||||
dstDepthSurf == dstStencilSurf) {
|
||||
struct pipe_sampler_view *srcView = st_renderbuffer_get_sampler_view(srcDepthRb, pipe);
|
||||
struct pipe_sampler_view *srcView = st_get_renderbuffer_sampler_view(srcDepthRb, pipe);
|
||||
|
||||
/* Blitting depth and stencil values between combined
|
||||
* depth/stencil buffers. This is the ideal case for such buffers.
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ void st_init_fbo_functions(struct dd_function_table *functions)
|
|||
}
|
||||
|
||||
struct pipe_sampler_view *
|
||||
st_renderbuffer_get_sampler_view(struct st_renderbuffer *rb,
|
||||
st_get_renderbuffer_sampler_view(struct st_renderbuffer *rb,
|
||||
struct pipe_context *pipe)
|
||||
{
|
||||
if (!rb->sampler_view) {
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ extern void
|
|||
st_init_fbo_functions(struct dd_function_table *functions);
|
||||
|
||||
extern struct pipe_sampler_view *
|
||||
st_renderbuffer_get_sampler_view(struct st_renderbuffer *rb,
|
||||
st_get_renderbuffer_sampler_view(struct st_renderbuffer *rb,
|
||||
struct pipe_context *pipe);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1624,7 +1624,7 @@ st_copy_texsubimage(GLcontext *ctx,
|
|||
}
|
||||
util_blit_pixels_writemask(ctx->st->blit,
|
||||
strb->surface,
|
||||
st_renderbuffer_get_sampler_view(strb, pipe),
|
||||
st_get_renderbuffer_sampler_view(strb, pipe),
|
||||
srcX, srcY0,
|
||||
srcX + width, srcY1,
|
||||
dest_surface,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue