summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
commitca11beabae33eb59fb981b8adf50b1d47a2a98f0 (patch)
tree3e4691a396e6e54cd54224a190663d5cf976625b /lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h
parent27c8a50e8bbde7d28b1fc46d715a4c469e24f2c4 (diff)
Import Mesa 21.1.5
Diffstat (limited to 'lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h')
-rw-r--r--lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h b/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h
index b7ade8537..b26dc6441 100644
--- a/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h
+++ b/lib/mesa/src/gallium/drivers/freedreno/a2xx/fd2_texture.h
@@ -29,36 +29,36 @@
#include "pipe/p_context.h"
-#include "freedreno_texture.h"
#include "freedreno_resource.h"
+#include "freedreno_texture.h"
#include "fd2_context.h"
#include "fd2_util.h"
struct fd2_sampler_stateobj {
- struct pipe_sampler_state base;
- uint32_t tex0, tex3, tex4;
+ struct pipe_sampler_state base;
+ uint32_t tex0, tex3, tex4;
};
static inline struct fd2_sampler_stateobj *
fd2_sampler_stateobj(struct pipe_sampler_state *samp)
{
- return (struct fd2_sampler_stateobj *)samp;
+ return (struct fd2_sampler_stateobj *)samp;
}
struct fd2_pipe_sampler_view {
- struct pipe_sampler_view base;
- uint32_t tex0, tex1, tex2, tex3, tex4, tex5;
+ struct pipe_sampler_view base;
+ uint32_t tex0, tex1, tex2, tex3, tex4, tex5;
};
static inline struct fd2_pipe_sampler_view *
fd2_pipe_sampler_view(struct pipe_sampler_view *pview)
{
- return (struct fd2_pipe_sampler_view *)pview;
+ return (struct fd2_pipe_sampler_view *)pview;
}
unsigned fd2_get_const_idx(struct fd_context *ctx,
- struct fd_texture_stateobj *tex, unsigned samp_id);
+ struct fd_texture_stateobj *tex, unsigned samp_id);
void fd2_texture_init(struct pipe_context *pctx);