Skip to content

Commit b4a682c

Browse files
committed
Update shader variant naming
1 parent 025a29d commit b4a682c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shaderVariant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { resolveVSCodeVariables } from './validator';
44

55
interface ShaderVariantSerialized {
66
url: DocumentUri,
7-
language: string,
7+
shadingLanguage: string,
88
entryPoint: string,
99
stage: string | null,
1010
defines: Object,
@@ -17,7 +17,7 @@ function shaderVariantToSerialized(url: DocumentUri, languageId: string, e: Shad
1717
}
1818
return {
1919
url: url,
20-
language: languageId,
20+
shadingLanguage: languageId,
2121
entryPoint: e.name,
2222
stage: (e.stage.stage === ShaderStage.auto) ? null : cameltoPascalCase(ShaderStage[e.stage.stage]),
2323
defines: Object.fromEntries(e.defines.defines.map(e => [e.label, e.value])),

0 commit comments

Comments
 (0)