HLSL: Fix #1912: add attribute syntax for overriding image formats.

This commit is contained in:
John Kessenich 2019-09-27 15:14:18 -06:00
parent 973d0e5382
commit 2d9b0a3550
14 changed files with 460 additions and 1 deletions

0
glslang/MachineIndependent/Constant.cpp Executable file → Normal file
View file

0
glslang/MachineIndependent/ShaderLang.cpp Executable file → Normal file
View file

0
glslang/MachineIndependent/SymbolTable.cpp Executable file → Normal file
View file

0
glslang/MachineIndependent/SymbolTable.h Executable file → Normal file
View file

View file

@ -76,7 +76,47 @@ namespace glslang {
EatMaxIterations,
EatIterationMultiple,
EatPeelCount,
EatPartialCount
EatPartialCount,
EatFormatRgba32f,
EatFormatRgba16f,
EatFormatR32f,
EatFormatRgba8,
EatFormatRgba8Snorm,
EatFormatRg32f,
EatFormatRg16f,
EatFormatR11fG11fB10f,
EatFormatR16f,
EatFormatRgba16,
EatFormatRgb10A2,
EatFormatRg16,
EatFormatRg8,
EatFormatR16,
EatFormatR8,
EatFormatRgba16Snorm,
EatFormatRg16Snorm,
EatFormatRg8Snorm,
EatFormatR16Snorm,
EatFormatR8Snorm,
EatFormatRgba32i,
EatFormatRgba16i,
EatFormatRgba8i,
EatFormatR32i,
EatFormatRg32i,
EatFormatRg16i,
EatFormatRg8i,
EatFormatR16i,
EatFormatR8i,
EatFormatRgba32ui,
EatFormatRgba16ui,
EatFormatRgba8ui,
EatFormatR32ui,
EatFormatRgb10a2ui,
EatFormatRg32ui,
EatFormatRg16ui,
EatFormatRg8ui,
EatFormatR16ui,
EatFormatR8ui,
EatFormatUnknown
};
class TIntermAggregate;

0
glslang/MachineIndependent/parseVersions.h Executable file → Normal file
View file