renderer: correct type of vrend_sampler_view::format

Using GLenum here makes it sound like this is used for OpenGL formats,
and not for pipe_format, which it really is. So let's change the type to
reflect what it really is.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Erik Faye-Lund 6 years ago committed by Dave Airlie
parent 66152b2526
commit a9bb5a7dcf
  1. 2
      src/vrend_renderer.c

@ -365,7 +365,7 @@ struct vrend_so_target {
struct vrend_sampler_view { struct vrend_sampler_view {
struct pipe_reference reference; struct pipe_reference reference;
GLuint id; GLuint id;
GLuint format; enum pipe_format format;
GLenum target; GLenum target;
GLuint val0, val1; GLuint val0, val1;
GLuint gl_swizzle_r; GLuint gl_swizzle_r;

Loading…
Cancel
Save