diff options
author | Dr.-Ing. Dieter Jurzitza <dieter.jurzitza@t-online.de> | 2017-02-23 12:57:26 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-15 13:27:11 -0400 |
commit | fbb46e0be897ffe78b731a2456673b4cbb73b2be (patch) | |
tree | 2e8ca4dcc5fa833a109a430ebfbc6a463e66667f /glamor | |
parent | 18fcb66688057f5676952e2535d4bb9942371199 (diff) |
glamor: Fix missing declaration in dash vertex shader
Fixes a GLSL compilation error:
Failed to compile VS: 0:13(43): error: `pos' undeclared
0:13(14): error: operands to arithmetic operators must be numeric
0:13(13): error: operands to arithmetic operators must be numeric
[1.19: Squash in Michel's typo fix from 0c1574d9]
Tested-by: Stefan Dirsch <sndirsch@suse.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d8161aeb50891ae10c5656487ce8f982deed5f9f)
(cherry picked from commit 0c1574d9882a91b2c1a046bf4ac5a9b138a37965)
Diffstat (limited to 'glamor')
-rw-r--r-- | glamor/glamor_dash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor_dash.c b/glamor/glamor_dash.c index 3c19dba32..78a4fa37a 100644 --- a/glamor/glamor_dash.c +++ b/glamor/glamor_dash.c @@ -32,6 +32,7 @@ static const char dash_vs_vars[] = static const char dash_vs_exec[] = " dash_offset = primitive.z / dash_length;\n" + " vec2 pos = vec2(0,0);\n" GLAMOR_POS(gl_Position, primitive.xy); static const char dash_fs_vars[] = |