mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01:00
[rs] Merge #611
611: Match inputs/outputs in msaa-line shader r=kvark a=kvark Note: this shouldn't be necessary, as the varyings are matched by location and not the name. However, spirv-cross doesn't try to fiddle with the varying names, so it fails if they are unmatched. Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
This commit is contained in:
commit
ccc178a3d0
2 files changed
+2
-2
No files matched your search
@@ -2,9 +2,9 @@
|
||||
|
||||
layout(location = 0) in vec2 a_Pos;
|
||||
layout(location = 1) in vec4 a_Color;
|
||||
layout(location = 0) out vec4 f_Color;
|
||||
layout(location = 0) out vec4 v_Color;
|
||||
|
||||
void main() {
|
||||
gl_Position = vec4(a_Pos, 0.0, 1.0);
|
||||
f_Color = a_Color;
|
||||
v_Color = a_Color;
|
||||
}
|
||||
Binary file not shown.
Reference in new issue
Block a user