freedreno/a4xx: use hardware RGTC texture samplers
[mesa.git] / src / gallium / drivers / freedreno / a4xx / fd4_texture.h
index 579ed87f14ba5885f9ee4d145860a3007f7393fb..31955770a85de3a5b56ff33fd3c62c1b946d6528 100644 (file)
 struct fd4_sampler_stateobj {
        struct pipe_sampler_state base;
        uint32_t texsamp0, texsamp1;
+       bool saturate_s, saturate_t, saturate_r;
 };
 
-static INLINE struct fd4_sampler_stateobj *
+static inline struct fd4_sampler_stateobj *
 fd4_sampler_stateobj(struct pipe_sampler_state *samp)
 {
        return (struct fd4_sampler_stateobj *)samp;
@@ -53,7 +54,7 @@ struct fd4_pipe_sampler_view {
        uint32_t texconst0, texconst1, texconst2, texconst3, textconst4;
 };
 
-static INLINE struct fd4_pipe_sampler_view *
+static inline struct fd4_pipe_sampler_view *
 fd4_pipe_sampler_view(struct pipe_sampler_view *pview)
 {
        return (struct fd4_pipe_sampler_view *)pview;