This repository was archived by the owner on Dec 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
ast/src/main/java/com/graphicsfuzz/common/ast Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2021 The GraphicsFuzz Project Authors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * https://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com .graphicsfuzz .common .ast .type ;
18+
19+ public class Std140LayoutQualifier implements LayoutQualifier {
20+
21+ @ Override
22+ public String toString () {
23+ return "std140" ;
24+ }
25+
26+ }
Original file line number Diff line number Diff line change 7878import com .graphicsfuzz .common .ast .type .QualifiedType ;
7979import com .graphicsfuzz .common .ast .type .SamplerType ;
8080import com .graphicsfuzz .common .ast .type .SetLayoutQualifier ;
81+ import com .graphicsfuzz .common .ast .type .Std140LayoutQualifier ;
8182import com .graphicsfuzz .common .ast .type .Std430LayoutQualifier ;
8283import com .graphicsfuzz .common .ast .type .StructDefinitionType ;
8384import com .graphicsfuzz .common .ast .type .StructNameType ;
@@ -1664,6 +1665,8 @@ private LayoutQualifier processLayoutQualifierId(
16641665 switch (layoutQualifierId .IDENTIFIER ().getText ()) {
16651666 case "std430" :
16661667 return new Std430LayoutQualifier ();
1668+ case "std140" :
1669+ return new Std140LayoutQualifier ();
16671670 default :
16681671 return new UnknownLayoutQualifier (layoutQualifierId .getText ());
16691672 }
You can’t perform that action at this time.
0 commit comments