freedreno/a2xx: ir2: update register state in scalar insert
[mesa.git] / src / gallium / drivers / freedreno / freedreno_texture.h
index fa27d1c32afb9fcc542a313e05a47243437f87fb..94fb2e810f2b370d55258d76fd02792593561803 100644 (file)
@@ -1,5 +1,3 @@
-/* -*- mode: C; c-file-style: "k&r"; tab-width 4; indent-tabs-mode: t; -*- */
-
 /*
  * Copyright (C) 2012 Rob Clark <robclark@freedesktop.org>
  *
 #include "pipe/p_context.h"
 
 void fd_sampler_states_bind(struct pipe_context *pctx,
-               unsigned shader, unsigned start,
+               enum pipe_shader_type shader, unsigned start,
                unsigned nr, void **hwcso);
 
-void fd_set_sampler_views(struct pipe_context *pctx, unsigned shader,
+void fd_set_sampler_views(struct pipe_context *pctx,
+                                                 enum pipe_shader_type shader,
                                                  unsigned start, unsigned nr,
                                                  struct pipe_sampler_view **views);
 
@@ -55,7 +54,7 @@ struct fd_texture_stateobj;
  *         | fp16[3]   /
  *  0x08:  | padding
  *  0x10:  | int16[0]  \
- *         | int16[1]  |___ swizzled int16 channels for for "small integer"
+ *         | int16[1]  |___ swizzled int16 channels for "small integer"
  *         | int16[2]  |    formats (<= 16 bits per component, integer)
  *         | int16[3]  /
  *  0x18:  | padding