diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor_cs.c | 6 | ||||
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor_cs.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/vl/vl_compositor_cs.c b/src/gallium/auxiliary/vl/vl_compositor_cs.c index a3d416cc542..0e49c11c8bf 100644 --- a/src/gallium/auxiliary/vl/vl_compositor_cs.c +++ b/src/gallium/auxiliary/vl/vl_compositor_cs.c @@ -40,7 +40,7 @@ struct cs_viewport { int translate_y; }; -char *compute_shader_video_buffer = +const char *compute_shader_video_buffer = "COMP\n" "PROPERTY CS_FIXED_BLOCK_WIDTH 8\n" "PROPERTY CS_FIXED_BLOCK_HEIGHT 8\n" @@ -101,7 +101,7 @@ char *compute_shader_video_buffer = "END\n"; -char *compute_shader_weave = +const char *compute_shader_weave = "COMP\n" "PROPERTY CS_FIXED_BLOCK_WIDTH 8\n" "PROPERTY CS_FIXED_BLOCK_HEIGHT 8\n" @@ -173,7 +173,7 @@ char *compute_shader_weave = "END\n"; -char *compute_shader_rgba = +const char *compute_shader_rgba = "COMP\n" "PROPERTY CS_FIXED_BLOCK_WIDTH 8\n" "PROPERTY CS_FIXED_BLOCK_HEIGHT 8\n" diff --git a/src/gallium/auxiliary/vl/vl_compositor_cs.h b/src/gallium/auxiliary/vl/vl_compositor_cs.h index 7a203d327ed..8521add5613 100644 --- a/src/gallium/auxiliary/vl/vl_compositor_cs.h +++ b/src/gallium/auxiliary/vl/vl_compositor_cs.h @@ -32,9 +32,9 @@ #include "vl_compositor.h" -char *compute_shader_video_buffer; -char *compute_shader_weave; -char *compute_shader_rgba; +extern const char *compute_shader_video_buffer; +extern const char *compute_shader_weave; +extern const char *compute_shader_rgba; /** * create compute shader |