diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-05-10 16:22:05 +0000 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-05-10 09:34:55 -0700 |
commit | 292187afcc9f32bde54fc1a94d81066e8bed194f (patch) | |
tree | c1f22595f603bce729a5be6cf36b43cd18f17e12 /src/mesa | |
parent | 6e5728e5c92b6d006862aae24763c3ce32ef20a6 (diff) |
swrast: Rename blend_func->swrast_blend_func
This avoids a conflict with the new (driver-agnostic) blend_func enum in
shader_enum.h, which broke the build of swrast (and i965 by extension).
My apologies :(
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Fixes: f41be53a ("compiler: Add enums for blend state")
Cc: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_context.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h index 49c30a3de3b..dd700183c88 100644 --- a/src/mesa/swrast/s_context.h +++ b/src/mesa/swrast/s_context.h @@ -57,10 +57,10 @@ typedef void (*texture_sample_func)(struct gl_context *ctx, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]); -typedef void (*blend_func)(struct gl_context *ctx, GLuint n, - const GLubyte mask[], - GLvoid *src, const GLvoid *dst, - GLenum chanType); +typedef void (*swrast_blend_func)(struct gl_context *ctx, GLuint n, + const GLubyte mask[], + GLvoid *src, const GLvoid *dst, + GLenum chanType); typedef void (*swrast_point_func)( struct gl_context *ctx, const SWvertex *); @@ -310,7 +310,7 @@ typedef struct /** Internal hooks, kept up to date by the same mechanism as above. */ - blend_func BlendFunc; + swrast_blend_func BlendFunc; texture_sample_func TextureSample[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; /** Buffer for saving the sampled texture colors. |