Skip to content

Commit

Permalink
[ci] Fix build on GCC 12 due to https://gcc.gnu.org/bugzilla/show_bug…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 10, 2023
1 parent a806704 commit 98d4ee6
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/plugins/score-plugin-gfx/Gfx/Graph/decoders/GPUVideoDecoder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ extern "C" {
}

#define SCORE_GFX_VIDEO_UNIFORMS \
R"_(
layout(std140, binding = 0) uniform renderer_t {
mat4 clipSpaceCorrMatrix;
vec2 renderSize;
} renderer;
layout(std140, binding = 2) uniform material_t {
vec2 scale;
vec2 textureSize;
} mat;
)_"
"layout(std140, binding = 0) uniform renderer_t {\n" \
" mat4 clipSpaceCorrMatrix;\n" \
" \n" \
" vec2 renderSize;\n" \
"} renderer;\n" \
"\n" \
"layout(std140, binding = 2) uniform material_t {\n" \
" vec2 scale;\n" \
" vec2 textureSize;\n" \
"} mat;\n"

namespace score::gfx
{
Expand Down

0 comments on commit 98d4ee6

Please sign in to comment.