freedreno/a4xx: use generated headers for draw initiator
[mesa.git] / src / gallium / drivers / freedreno / a4xx / fd4_texture.h
index 579ed87f14ba5885f9ee4d145860a3007f7393fb..6ca34ade60db3043148f47bb41c200efcd9c9c08 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;
@@ -50,10 +51,11 @@ fd4_sampler_stateobj(struct pipe_sampler_state *samp)
 
 struct fd4_pipe_sampler_view {
        struct pipe_sampler_view base;
-       uint32_t texconst0, texconst1, texconst2, texconst3, textconst4;
+       uint32_t texconst0, texconst1, texconst2, texconst3, texconst4;
+       uint32_t offset;
 };
 
-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;