X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Ffreedreno%2Ffreedreno_texture.h;h=b12ce2f125f782a9bce33c5347f9f5b00e72ebe5;hb=97894b1267923dee25ea5263e547ac8822ef7095;hp=fa27d1c32afb9fcc542a313e05a47243437f87fb;hpb=9124a49d54af5d7bd8230af4ba3eebfb167a7655;p=mesa.git diff --git a/src/gallium/drivers/freedreno/freedreno_texture.h b/src/gallium/drivers/freedreno/freedreno_texture.h index fa27d1c32af..b12ce2f125f 100644 --- a/src/gallium/drivers/freedreno/freedreno_texture.h +++ b/src/gallium/drivers/freedreno/freedreno_texture.h @@ -32,10 +32,11 @@ #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 +56,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