SPV Version: Emit the requested SPIR-V version, not the header version.

Fixes #1236.
This commit is contained in:
John Kessenich 2018-01-31 18:35:56 -07:00
parent 43f5b27321
commit 2b5ea9f851
493 changed files with 500 additions and 497 deletions

View File

@ -107,7 +107,8 @@ private:
//
class TGlslangToSpvTraverser : public glslang::TIntermTraverser {
public:
TGlslangToSpvTraverser(const glslang::TIntermediate*, spv::SpvBuildLogger* logger, glslang::SpvOptions& options);
TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate*, spv::SpvBuildLogger* logger,
glslang::SpvOptions& options);
virtual ~TGlslangToSpvTraverser() { }
bool visitAggregate(glslang::TVisit, glslang::TIntermAggregate*);
@ -880,13 +881,13 @@ bool HasNonLayoutQualifiers(const glslang::TType& type, const glslang::TQualifie
// Implement the TGlslangToSpvTraverser class.
//
TGlslangToSpvTraverser::TGlslangToSpvTraverser(const glslang::TIntermediate* glslangIntermediate,
TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion, const glslang::TIntermediate* glslangIntermediate,
spv::SpvBuildLogger* buildLogger, glslang::SpvOptions& options)
: TIntermTraverser(true, false, true),
options(options),
shaderEntry(nullptr), currentFunction(nullptr),
sequenceDepth(0), logger(buildLogger),
builder((glslang::GetKhronosToolId() << 16) | glslang::GetSpirvGeneratorVersion(), logger),
builder(spvVersion, (glslang::GetKhronosToolId() << 16) | glslang::GetSpirvGeneratorVersion(), logger),
inEntryPoint(false), entryPointTerminated(false), linkageOnly(false),
glslangIntermediate(glslangIntermediate)
{
@ -6067,7 +6068,7 @@ void GlslangToSpv(const glslang::TIntermediate& intermediate, std::vector<unsign
glslang::GetThreadPoolAllocator().push();
TGlslangToSpvTraverser it(&intermediate, logger, *options);
TGlslangToSpvTraverser it(intermediate.getSpv().spv, &intermediate, logger, *options);
root->traverse(&it);
it.finishSpv();
it.dumpSpv(spirv);

View File

@ -56,7 +56,8 @@
namespace spv {
Builder::Builder(unsigned int magicNumber, SpvBuildLogger* buildLogger) :
Builder::Builder(unsigned int spvVersion, unsigned int magicNumber, SpvBuildLogger* buildLogger) :
spvVersion(spvVersion),
source(SourceLanguageUnknown),
sourceVersion(0),
sourceFileStringId(NoResult),
@ -2403,7 +2404,7 @@ void Builder::dump(std::vector<unsigned int>& out) const
{
// Header, before first instructions:
out.push_back(MagicNumber);
out.push_back(Version);
out.push_back(spvVersion);
out.push_back(builderNumber);
out.push_back(uniqueId + 1);
out.push_back(0);

View File

@ -60,7 +60,7 @@ namespace spv {
class Builder {
public:
Builder(unsigned int userNumber, SpvBuildLogger* logger);
Builder(unsigned int spvVersion, unsigned int userNumber, SpvBuildLogger* logger);
virtual ~Builder();
static const int maxMatrixSize = 4;
@ -585,6 +585,7 @@ public:
void dumpInstructions(std::vector<unsigned int>&, const std::vector<std::unique_ptr<Instruction> >&) const;
void dumpModuleProcesses(std::vector<unsigned int>&) const;
unsigned int spvVersion; // the version of SPIR-V to emit in the header
SourceLanguage source;
int sourceVersion;
spv::Id sourceFileStringId;

View File

@ -159,7 +159,7 @@ std::vector<std::string> IncludeDirectoryList;
int ClientInputSemanticsVersion = 100; // maps to, say, #define VULKAN 100
int VulkanClientVersion = 100; // would map to, say, Vulkan 1.0
int OpenGLClientVersion = 450; // doesn't influence anything yet, but maps to OpenGL 4.50
unsigned int TargetVersion = 0x00001000; // maps to, say, SPIR-V 1.0
unsigned int TargetVersion = 0x00010000; // maps to, say, SPIR-V 1.0
std::vector<std::string> Processes; // what should be recorded by OpModuleProcessed, or equivalent
// Per descriptor-set binding base data

View File

@ -1,6 +1,6 @@
hlsl.aliasOpaque.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 87

View File

@ -1,6 +1,6 @@
hlsl.flattenOpaque.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 185

View File

@ -1,6 +1,6 @@
hlsl.flattenOpaqueInit.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 134

View File

@ -1,6 +1,6 @@
hlsl.flattenOpaqueInitMix.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 80

View File

@ -1,6 +1,6 @@
hlsl.flattenSubset.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 66

View File

@ -1,6 +1,6 @@
hlsl.flattenSubset2.frag
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 53

View File

@ -1,6 +1,6 @@
hlsl.partialFlattenLocal.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 165

View File

@ -1,6 +1,6 @@
hlsl.partialFlattenMixed.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 36

View File

@ -1,7 +1,7 @@
glsl.entryPointRename.vert
ERROR: Source entry point must be "main"
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 20

View File

@ -1,5 +1,5 @@
glsl.entryPointRename.vert
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 20

View File

@ -1,7 +1,7 @@
glspv.version.frag
ERROR: #version: compilation for SPIR-V does not support the compatibility profile
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 6

View File

@ -69,7 +69,7 @@ output primitive = line_strip
0:? 'ps' ( in 3-element array of uint PointSize)
0:? 'OutputStream.ps' ( out float PointSize)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 36

View File

@ -37,7 +37,7 @@ Shader version: 500
0:? Linker Objects
0:? '@entryPointOutput' ( out float PointSize)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 16

View File

@ -142,7 +142,7 @@ gl_FragCoord origin is upper left
0:? 'gtex' ( uniform texture2D)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 64

View File

@ -159,7 +159,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float a, uniform float b, uniform 3-component vector of float c, uniform int d, uniform int e})
0:? 'm' ( global 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 57

View File

@ -344,7 +344,7 @@ gl_FragCoord origin is upper left
0:? 'not_flattened_a' ( global 5-element array of int)
0:? 'ps_output.color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 143

View File

@ -289,7 +289,7 @@ gl_FragCoord origin is upper left
0:? 'i' (layout( location=0) flat in int)
0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 126

View File

@ -162,7 +162,7 @@ gl_FragCoord origin is upper left
0:? 'g_array_unused' ( global 7-element array of float)
0:? 'g_mystruct' ( global 2-element array of structure{ temp int i, temp float f})
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 72

View File

@ -133,7 +133,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 5-element array of 4-element array of 3-element array of float float_array})
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 57

View File

@ -131,7 +131,7 @@ gl_FragCoord origin is upper left
0:? 'a4' (layout( location=3) in 4-component vector of float)
0:? 'a5' (layout( location=4) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 58

View File

@ -81,7 +81,7 @@ local_size = (4, 6, 8)
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int bound})
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 39

View File

@ -49,7 +49,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 24

View File

@ -93,7 +93,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=7) out 4-component vector of float)
0:? 'input' (layout( location=8) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 51

View File

@ -55,7 +55,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( set=2 binding=5 row_major std140) uniform block{ uniform 4-component vector of float u1, uniform 4-component vector of float u2})
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 28

View File

@ -59,7 +59,7 @@ local_size = (1, 1, 1)
0:? 'dti' ( in int GlobalInvocationID)
0:? 'gti' ( in int LocalInvocationID)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 35

View File

@ -187,7 +187,7 @@ output primitive = line_strip
0:? 'OutputStream.myfloat' (layout( location=0) out float)
0:? 'OutputStream.something' (layout( location=1) out int)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 68

View File

@ -203,7 +203,7 @@ Shader version: 500
0:? 'b' ( global bool)
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 99

View File

@ -145,7 +145,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.a' (layout( location=0) out 4-component vector of float)
0:? 'input' ( in 4-component vector of float FragCoord)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 73

View File

@ -355,7 +355,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 148

View File

@ -71,7 +71,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 39

View File

@ -249,7 +249,7 @@ Shader version: 500
0:? 'input.Pos' (layout( location=0) in 4-component vector of float)
0:? 'input.Norm' (layout( location=1) in 3-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 106

View File

@ -145,7 +145,7 @@ Shader version: 500
0:? Linker Objects
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 58

View File

@ -73,7 +73,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 30

View File

@ -97,7 +97,7 @@ gl_FragCoord origin is upper left
0:? 'clip' ( in 1-element array of float ClipDistance)
0:? 'cull' ( in 1-element array of float CullDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 53

View File

@ -549,7 +549,7 @@ output primitive = line_strip
0:? 'clip' ( in 3-element array of 4-element array of float ClipDistance)
0:? 'OutputStream.clip' ( out 2-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 118

View File

@ -107,7 +107,7 @@ Shader version: 500
0:? 'clip' ( out 1-element array of float ClipDistance)
0:? 'cull' ( out 1-element array of float CullDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 46

View File

@ -289,7 +289,7 @@ gl_FragCoord origin is upper left
0:? 'clip' ( in 4-element array of float ClipDistance)
0:? 'cull' ( in 4-element array of float CullDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 84

View File

@ -723,7 +723,7 @@ output primitive = line_strip
0:? 'clip' ( in 3-element array of 4-element array of float ClipDistance)
0:? 'OutputStream.clip' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 128

View File

@ -419,7 +419,7 @@ Shader version: 500
0:? 'clip' ( out 4-element array of float ClipDistance)
0:? 'cull' ( out 4-element array of float CullDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 89

View File

@ -97,7 +97,7 @@ gl_FragCoord origin is upper left
0:? 'clip' ( in 2-element array of float ClipDistance)
0:? 'cull' ( in 2-element array of float CullDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 53

View File

@ -629,7 +629,7 @@ output primitive = line_strip
0:? 'clip' ( in 3-element array of 4-element array of float ClipDistance)
0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 127

View File

@ -135,7 +135,7 @@ Shader version: 500
0:? 'clip' ( out 2-element array of float ClipDistance)
0:? 'cull' ( out 2-element array of float CullDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 51

View File

@ -173,7 +173,7 @@ gl_FragCoord origin is upper left
0:? 'v.Position' ( in 4-component vector of float FragCoord)
0:? 'v.ClipRect' ( in 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 57

View File

@ -611,7 +611,7 @@ output primitive = line_strip
0:? 'clip0' ( in 3-element array of 4-element array of float ClipDistance)
0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 130

View File

@ -269,7 +269,7 @@ Shader version: 500
0:? 'v.Position' (layout( location=0) in 4-component vector of float)
0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 72

View File

@ -231,7 +231,7 @@ gl_FragCoord origin is upper left
0:? 'v.Position' ( in 4-component vector of float FragCoord)
0:? 'v.ClipRect' ( in 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 62

View File

@ -317,7 +317,7 @@ Shader version: 500
0:? 'v.Position' (layout( location=0) in 4-component vector of float)
0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 73

View File

@ -281,7 +281,7 @@ gl_FragCoord origin is upper left
0:? 'v.Position' ( in 4-component vector of float FragCoord)
0:? 'v.clip1' ( in 8-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 79

View File

@ -427,7 +427,7 @@ Shader version: 500
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 86

View File

@ -269,7 +269,7 @@ gl_FragCoord origin is upper left
0:? 'v.Position' ( in 4-component vector of float FragCoord)
0:? 'v.clip1' ( in 8-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 78

View File

@ -383,7 +383,7 @@ Shader version: 500
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 81

View File

@ -185,7 +185,7 @@ gl_FragCoord origin is upper left
0:? 'v.Position' ( in 4-component vector of float FragCoord)
0:? 'v.clip1' ( in 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 65

View File

@ -239,7 +239,7 @@ Shader version: 500
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 62

View File

@ -143,7 +143,7 @@ gl_FragCoord origin is upper left
0:? 'Position' ( in 4-component vector of float FragCoord)
0:? 'clip0' ( in 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 68

View File

@ -193,7 +193,7 @@ Shader version: 500
0:? '@entryPointOutput.Position' ( out 4-component vector of float Position)
0:? 'clip0' ( out 4-element array of float ClipDistance)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 67

View File

@ -355,7 +355,7 @@ triangle order = cw
0:? '@patchConstantOutput.edges' ( patch out 4-element array of float TessLevelOuter)
0:? '@patchConstantOutput.inside' ( patch out 2-element array of float TessLevelInner)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 127

View File

@ -261,7 +261,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float uf4})
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 96

View File

@ -521,7 +521,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 220

View File

@ -131,7 +131,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{layout( row_major std140) uniform int c1})
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 66

View File

@ -267,7 +267,7 @@ Shader version: 500
0:? Linker Objects
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 89

View File

@ -103,7 +103,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 40

View File

@ -543,7 +543,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out int)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 98

View File

@ -1,5 +1,5 @@
hlsl.dashI.vert
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 40

View File

@ -1,5 +1,5 @@
hlsl.deadFunctionMissingBody.vert
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 18

View File

@ -49,7 +49,7 @@ using depth_greater
0:? Linker Objects
0:? 'depth' ( out float FragDepth)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 20

View File

@ -41,7 +41,7 @@ using depth_less
0:? Linker Objects
0:? '@entryPointOutput' ( out float FragDepth)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 16

View File

@ -107,7 +107,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 50

View File

@ -143,7 +143,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'input' (layout( location=0) in float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 71

View File

@ -285,7 +285,7 @@ triangle order = none
0:? 'pcf_data.flTessFactor' ( patch in 4-element array of float TessLevelOuter)
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 103

View File

@ -283,7 +283,7 @@ triangle order = none
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
0:? 'pcf_data.foo' (layout( location=2) patch in float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 98

View File

@ -263,7 +263,7 @@ triangle order = none
0:? 'pcf_data.flTessFactor' ( patch in 4-element array of float TessLevelOuter)
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 100

View File

@ -59,7 +59,7 @@ Shader version: 500
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'vertexIndex' (layout( location=0) in uint)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 29

View File

@ -49,7 +49,7 @@ gl_FragCoord origin is upper left
0:? 'i' ( temp structure{})
0:? Linker Objects
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 27

View File

@ -47,7 +47,7 @@ Shader version: 500
0:? 'i' ( temp structure{})
0:? Linker Objects
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 27

View File

@ -165,7 +165,7 @@ gl_FragCoord origin is upper left
0:? 'i.v' (layout( location=0) in 2-component vector of float)
0:? 'i.i2' (layout( location=1) flat in 2-component vector of int)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 74

View File

@ -243,7 +243,7 @@ gl_FragCoord origin is upper left
0:? 'out3.v' (layout( location=4) out 2-component vector of float)
0:? 'out3.i' (layout( location=5) out 2-component vector of int)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 89

View File

@ -71,7 +71,7 @@ gl_FragCoord origin is upper left
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int also_not_the_entry_point})
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 32

View File

@ -1,5 +1,5 @@
hlsl.explicitDescriptorSet.frag
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 31

View File

@ -1,5 +1,5 @@
hlsl.explicitDescriptorSet.frag
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 31

View File

@ -117,7 +117,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.other_struct_member2' (layout( location=2) out float)
0:? '@entryPointOutput.other_struct_member3' (layout( location=3) out float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 49

View File

@ -294,7 +294,7 @@ gl_FragCoord origin is upper left
0:? 's2.tex' ( uniform texture2D)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 122

View File

@ -164,7 +164,7 @@ Shader version: 500
0:? 'g_tInputTexture' ( uniform texture2D)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 82

View File

@ -106,7 +106,7 @@ Shader version: 500
0:? 'g_tInputTexture' ( uniform texture2D)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 59

View File

@ -114,7 +114,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'vpos' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 54

View File

@ -148,7 +148,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'vpos' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 56

View File

@ -64,7 +64,7 @@ gl_FragCoord origin is upper left
0:? 'f1' ( global 1-component vector of float)
0:? 'scalar' ( global float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 27

View File

@ -41,7 +41,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float AmbientColor, uniform bool ff1, layout( offset=20) uniform float ff2, layout( binding=0 offset=32) uniform 4-component vector of float ff3, layout( binding=1 offset=48) uniform 4-component vector of float ff4})
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 26

View File

@ -401,7 +401,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 183

View File

@ -63,7 +63,7 @@ gl_FragCoord origin is upper left
0:? Linker Objects
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 25

View File

@ -259,7 +259,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 124

View File

@ -255,7 +255,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 135

View File

@ -219,7 +219,7 @@ Shader version: 500
0:? 'g_tTexcdu4' ( uniform utextureCube)
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 126

View File

@ -205,7 +205,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 114

View File

@ -199,7 +199,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 97

View File

@ -747,7 +747,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 255

View File

@ -755,7 +755,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Depth' ( out float FragDepth)
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10200
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 265

Some files were not shown because too many files have changed in this diff Show More