Merge pull request #2260 from gnl21/not-equal

Use OpFUnordNotEqual for floating-point !=
This commit is contained in:
John Kessenich 2020-06-22 05:35:20 -06:00 committed by GitHub
commit 8397044502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
691 changed files with 793 additions and 792 deletions

View File

@ -5616,7 +5616,7 @@ spv::Id TGlslangToSpvTraverser::createBinaryOperation(glslang::TOperator op, OpD
case glslang::EOpNotEqual:
case glslang::EOpVectorNotEqual:
if (isFloat)
binOp = spv::OpFOrdNotEqual;
binOp = spv::OpFUnordNotEqual;
else if (isBool)
binOp = spv::OpLogicalNotEqual;
else
@ -6314,7 +6314,7 @@ spv::Id TGlslangToSpvTraverser::createConversion(glslang::TOperator op, OpDecora
case glslang::EOpConvFloatToBool:
zero = builder.makeFloatConstant(0.0F);
zero = makeSmearedConstant(zero, vectorSize);
return builder.createBinOp(spv::OpFOrdNotEqual, destType, operand, zero);
return builder.createBinOp(spv::OpFUnordNotEqual, destType, operand, zero);
case glslang::EOpConvBoolToFloat:
convOp = spv::OpSelect;
zero = builder.makeFloatConstant(0.0F);
@ -6463,11 +6463,11 @@ spv::Id TGlslangToSpvTraverser::createConversion(glslang::TOperator op, OpDecora
case glslang::EOpConvDoubleToBool:
zero = builder.makeDoubleConstant(0.0);
zero = makeSmearedConstant(zero, vectorSize);
return builder.createBinOp(spv::OpFOrdNotEqual, destType, operand, zero);
return builder.createBinOp(spv::OpFUnordNotEqual, destType, operand, zero);
case glslang::EOpConvFloat16ToBool:
zero = builder.makeFloat16Constant(0.0F);
zero = makeSmearedConstant(zero, vectorSize);
return builder.createBinOp(spv::OpFOrdNotEqual, destType, operand, zero);
return builder.createBinOp(spv::OpFUnordNotEqual, destType, operand, zero);
case glslang::EOpConvBoolToDouble:
convOp = spv::OpSelect;
zero = builder.makeDoubleConstant(0.0);
@ -8655,7 +8655,8 @@ int GetSpirvGeneratorVersion()
// versions 4 and 6 each generate OpArrayLength as it has long been done
// return 7; // GLSL volatile keyword maps to both SPIR-V decorations Volatile and Coherent
// return 8; // switch to new dead block eliminator; use OpUnreachable
return 9; // don't include opaque function parameters in OpEntryPoint global's operand list
// return 9; // don't include opaque function parameters in OpEntryPoint global's operand list
return 10; // Generate OpFUnordNotEqual for != comparisons
}
// Write SPIR-V out to a binary file

View File

@ -2166,7 +2166,7 @@ Id Builder::createCompositeCompare(Decoration precision, Id value1, Id value2, b
Op op;
switch (getMostBasicTypeClass(valueType)) {
case OpTypeFloat:
op = equal ? OpFOrdEqual : OpFOrdNotEqual;
op = equal ? OpFOrdEqual : OpFUnordNotEqual;
break;
case OpTypeInt:
default:

View File

@ -1,6 +1,6 @@
hlsl.aliasOpaque.frag
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 89
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.flattenOpaque.frag
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 190
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.flattenOpaqueInit.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 139
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.flattenOpaqueInitMix.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 99
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.flattenSubset.frag
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 67
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.flattenSubset2.frag
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 53
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.partialFlattenLocal.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 159
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.partialFlattenMixed.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 36
Capability Shader

View File

@ -1,6 +1,6 @@
compoundsuffix.frag.hlsl
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 22
Capability Shader

View File

@ -2,7 +2,7 @@ glsl.entryPointRename.vert
ERROR: Source entry point must be "main"
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 20
Capability Shader

View File

@ -1,6 +1,6 @@
glsl.entryPointRename.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 20
Capability Shader

View File

@ -1,6 +1,6 @@
glspv.esversion.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 10
Capability Shader

View File

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

View File

@ -71,7 +71,7 @@ output primitive = line_strip
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 36
Capability Geometry

View File

@ -38,7 +38,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out float PointSize)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 16
Capability Shader

View File

@ -143,7 +143,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 64
Capability Shader

View File

@ -160,7 +160,7 @@ gl_FragCoord origin is upper left
0:? 'm' ( global 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 57
Capability Shader

View File

@ -345,7 +345,7 @@ gl_FragCoord origin is upper left
0:? 'ps_output.color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 143
Capability Shader

View File

@ -290,7 +290,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 126
Capability Shader

View File

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

View File

@ -134,7 +134,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 57
Capability Shader

View File

@ -132,7 +132,7 @@ gl_FragCoord origin is upper left
0:? 'a5' (layout( location=4) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 58
Capability Shader

View File

@ -82,7 +82,7 @@ local_size = (4, 6, 8)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 39
Capability Shader

View File

@ -50,7 +50,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 24
Capability Shader

View File

@ -95,7 +95,7 @@ gl_FragCoord origin is upper left
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 51
Capability Shader

View File

@ -56,7 +56,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 28
Capability Shader

View File

@ -64,7 +64,7 @@ local_size = (1, 1, 1)
0:? 'gti' ( in 3-component vector of int LocalInvocationID)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 38
Capability Shader

View File

@ -188,7 +188,7 @@ output primitive = line_strip
0:? 'OutputStream.something' (layout( location=1) out int)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 68
Capability Geometry

View File

@ -204,7 +204,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 99
Capability Shader

View File

@ -147,7 +147,7 @@ gl_FragCoord origin is upper left
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 73
Capability Shader

View File

@ -358,7 +358,7 @@ using depth_any
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 148
Capability Shader

View File

@ -358,7 +358,7 @@ using depth_any
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 148
Capability Shader

View File

@ -70,7 +70,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 34
Capability Shader

View File

@ -250,7 +250,7 @@ Shader version: 500
0:? 'input.Norm' (layout( location=1) in 3-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 93
Capability Shader

View File

@ -146,7 +146,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 58
Capability Shader

View File

@ -74,7 +74,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 30
Capability Shader

View File

@ -98,7 +98,7 @@ gl_FragCoord origin is upper left
0:? 'cull' ( in 1-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 53
Capability Shader

View File

@ -550,7 +550,7 @@ output primitive = line_strip
0:? 'OutputStream.clip' ( out 2-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 118
Capability Geometry

View File

@ -108,7 +108,7 @@ Shader version: 500
0:? 'cull' ( out 1-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 46
Capability Shader

View File

@ -290,7 +290,7 @@ gl_FragCoord origin is upper left
0:? 'cull' ( in 4-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 84
Capability Shader

View File

@ -724,7 +724,7 @@ output primitive = line_strip
0:? 'OutputStream.clip' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 128
Capability Geometry

View File

@ -420,7 +420,7 @@ Shader version: 500
0:? 'cull' ( out 4-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 89
Capability Shader

View File

@ -98,7 +98,7 @@ gl_FragCoord origin is upper left
0:? 'cull' ( in 2-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 53
Capability Shader

View File

@ -630,7 +630,7 @@ output primitive = line_strip
0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 127
Capability Geometry

View File

@ -136,7 +136,7 @@ Shader version: 500
0:? 'cull' ( out 2-element array of float CullDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 51
Capability Shader

View File

@ -174,7 +174,7 @@ gl_FragCoord origin is upper left
0:? 'v.ClipRect' ( in 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 57
Capability Shader

View File

@ -612,7 +612,7 @@ output primitive = line_strip
0:? 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 130
Capability Geometry

View File

@ -270,7 +270,7 @@ Shader version: 500
0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 72
Capability Shader

View File

@ -232,7 +232,7 @@ gl_FragCoord origin is upper left
0:? 'v.ClipRect' ( in 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 62
Capability Shader

View File

@ -318,7 +318,7 @@ Shader version: 500
0:? '@entryPointOutput.ClipRect' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 73
Capability Shader

View File

@ -282,7 +282,7 @@ gl_FragCoord origin is upper left
0:? 'v.clip1' ( in 8-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 79
Capability Shader

View File

@ -428,7 +428,7 @@ Shader version: 500
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 86
Capability Shader

View File

@ -270,7 +270,7 @@ gl_FragCoord origin is upper left
0:? 'v.clip1' ( in 8-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 78
Capability Shader

View File

@ -384,7 +384,7 @@ Shader version: 500
0:? '@entryPointOutput.clip1' ( out 8-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 81
Capability Shader

View File

@ -186,7 +186,7 @@ gl_FragCoord origin is upper left
0:? 'v.clip1' ( in 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 65
Capability Shader

View File

@ -240,7 +240,7 @@ Shader version: 500
0:? '@entryPointOutput.clip1' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 62
Capability Shader

View File

@ -144,7 +144,7 @@ gl_FragCoord origin is upper left
0:? 'clip0' ( in 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 68
Capability Shader

View File

@ -194,7 +194,7 @@ Shader version: 500
0:? 'clip0' ( out 4-element array of float ClipDistance)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 67
Capability Shader

View File

@ -530,7 +530,7 @@ triangle order = cw
0:? '@patchConstantOutput.inside' ( patch out 2-element array of float TessLevelInner)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 159
Capability Tessellation

View File

@ -262,7 +262,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 96
Capability Shader
@ -355,7 +355,7 @@ gl_FragCoord origin is upper left
Store 25(r00) 28
30: 7(fvec4) Load 10(a)
31: 7(fvec4) Load 17(v04)
32: 23(bvec4) FOrdNotEqual 30 31
32: 23(bvec4) FUnordNotEqual 30 31
Store 29(r01) 32
34: 7(fvec4) Load 10(a)
35: 7(fvec4) Load 17(v04)
@ -373,7 +373,7 @@ gl_FragCoord origin is upper left
47: 7(fvec4) Load 10(a)
48: 6(float) Load 21(v01)
49: 7(fvec4) CompositeConstruct 48 48 48 48
50: 23(bvec4) FOrdNotEqual 47 49
50: 23(bvec4) FUnordNotEqual 47 49
Store 46(r11) 50
52: 7(fvec4) Load 10(a)
53: 6(float) Load 21(v01)
@ -393,7 +393,7 @@ gl_FragCoord origin is upper left
67: 6(float) Load 21(v01)
68: 7(fvec4) CompositeConstruct 67 67 67 67
69: 7(fvec4) Load 10(a)
70: 23(bvec4) FOrdNotEqual 68 69
70: 23(bvec4) FUnordNotEqual 68 69
Store 66(r21) 70
72: 6(float) Load 21(v01)
73: 7(fvec4) CompositeConstruct 72 72 72 72

View File

@ -522,7 +522,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 206
Capability Shader
@ -644,7 +644,7 @@ gl_FragCoord origin is upper left
39: 7(fvec4) Load 38
41: 34(ptr) AccessChain 31 40
42: 7(fvec4) Load 41
46: 43(bvec4) FOrdNotEqual 42 45
46: 43(bvec4) FUnordNotEqual 42 45
47: 7(fvec4) Select 46 39 36
50: 49(ptr) AccessChain 31 48
51: 6(float) Load 50
@ -654,7 +654,7 @@ gl_FragCoord origin is upper left
56: 7(fvec4) CompositeConstruct 55 55 55 55
57: 34(ptr) AccessChain 31 40
58: 7(fvec4) Load 57
59: 43(bvec4) FOrdNotEqual 58 45
59: 43(bvec4) FUnordNotEqual 58 45
60: 7(fvec4) Select 59 56 52
61: 7(fvec4) FAdd 47 60
62: 34(ptr) AccessChain 31 33
@ -675,7 +675,7 @@ gl_FragCoord origin is upper left
77: 7(fvec4) CompositeConstruct 76 76 76 76
78: 34(ptr) AccessChain 31 40
79: 7(fvec4) Load 78
80: 43(bvec4) FOrdNotEqual 79 45
80: 43(bvec4) FUnordNotEqual 79 45
81: 7(fvec4) Select 80 77 74
82: 7(fvec4) FAdd 72 81
ReturnValue 82
@ -687,7 +687,7 @@ gl_FragCoord origin is upper left
87: 6(float) Load 86
88: 49(ptr) AccessChain 31 48
89: 6(float) Load 88
90: 13(bool) FOrdNotEqual 87 89
90: 13(bool) FUnordNotEqual 87 89
91: 49(ptr) AccessChain 31 53
92: 6(float) Load 91
93: 34(ptr) AccessChain 31 33

View File

@ -133,7 +133,7 @@ gl_FragCoord origin is upper left
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 66
Capability Shader

View File

@ -268,7 +268,7 @@ Shader version: 500
0:? '@entryPointOutput' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 89
Capability Shader

View File

@ -104,7 +104,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 40
Capability Shader

View File

@ -545,7 +545,7 @@ gl_FragCoord origin is upper left
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 98
Capability Shader

View File

@ -119,7 +119,7 @@ gl_FragCoord origin is upper left
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 52
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.dashI.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 40
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.deadFunctionMissingBody.vert
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 18
Capability Shader

View File

@ -50,7 +50,7 @@ using depth_greater
0:? 'depth' ( out float FragDepth)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 20
Capability Shader

View File

@ -42,7 +42,7 @@ using depth_less
0:? '@entryPointOutput' ( out float FragDepth)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 16
Capability Shader

View File

@ -108,7 +108,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 50
Capability Shader
@ -178,7 +178,7 @@ gl_FragCoord origin is upper left
30: 2 FunctionCall 10(foo(f1;) 25(param)
32: 7(ptr) AccessChain 15(input) 31
33: 6(float) Load 32
35: 20(bool) FOrdNotEqual 33 34
35: 20(bool) FUnordNotEqual 33 34
SelectionMerge 37 None
BranchConditional 35 36 37
36: Label

View File

@ -198,7 +198,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 99
Capability Shader

View File

@ -428,7 +428,7 @@ triangle order = none
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 125
Capability Tessellation

View File

@ -426,7 +426,7 @@ triangle order = none
0:? 'pcf_data.foo' (layout( location=2) patch in float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 120
Capability Tessellation

View File

@ -358,7 +358,7 @@ triangle order = none
0:? 'pcf_data.flInsideTessFactor' ( patch in 2-element array of float TessLevelInner)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 116
Capability Tessellation

View File

@ -108,7 +108,7 @@ using early_fragment_tests
0:? 'input.Position' ( in 4-component vector of float FragCoord)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 50
Capability Shader

View File

@ -60,7 +60,7 @@ Shader version: 500
0:? 'vertexIndex' (layout( location=0) in uint)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 29
Capability Shader

View File

@ -51,7 +51,7 @@ gl_FragCoord origin is upper left
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 27
Capability Shader

View File

@ -49,7 +49,7 @@ Shader version: 500
Validation failed
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 27
Capability Shader

View File

@ -166,7 +166,7 @@ gl_FragCoord origin is upper left
0:? 'i.i2' (layout( location=1) flat in 2-component vector of int)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 74
Capability Shader

View File

@ -244,7 +244,7 @@ gl_FragCoord origin is upper left
0:? 'out3.i' (layout( location=5) out 2-component vector of int)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 89
Capability Shader

View File

@ -72,7 +72,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 32
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.explicitDescriptorSet.frag
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 31
Capability Shader

View File

@ -1,6 +1,6 @@
hlsl.explicitDescriptorSet.frag
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 31
Capability Shader

View File

@ -118,7 +118,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput.other_struct_member3' (layout( location=3) out float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 49
Capability Shader

View File

@ -295,7 +295,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 122
Capability Shader

View File

@ -165,7 +165,7 @@ Shader version: 500
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 82
Capability Shader

View File

@ -107,7 +107,7 @@ Shader version: 500
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 59
Capability Shader

View File

@ -115,7 +115,7 @@ gl_FragCoord origin is upper left
0:? 'vpos' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 54
Capability Shader

View File

@ -149,7 +149,7 @@ gl_FragCoord origin is upper left
0:? 'vpos' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 56
Capability Shader

View File

@ -65,7 +65,7 @@ gl_FragCoord origin is upper left
0:? 'scalar' ( global float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 27
Capability Shader

View File

@ -42,7 +42,7 @@ gl_FragCoord origin is upper left
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 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 26
Capability Shader

View File

@ -510,7 +510,7 @@ gl_FragCoord origin is upper left
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 240
Capability Shader
@ -644,7 +644,7 @@ gl_FragCoord origin is upper left
58: Label
59: 9(fvec4) Load 15(input)
60: 9(fvec4) Load 15(input)
63: 62(bvec4) FOrdNotEqual 59 60
63: 62(bvec4) FUnordNotEqual 59 60
64: 61(bool) Any 63
BranchConditional 64 55 56
55: Label
@ -664,7 +664,7 @@ gl_FragCoord origin is upper left
69: Label
70: 9(fvec4) Load 19(input)
71: 9(fvec4) Load 19(input)
72: 62(bvec4) FOrdNotEqual 70 71
72: 62(bvec4) FUnordNotEqual 70 71
73: 61(bool) Any 72
BranchConditional 73 66 67
66: Label
@ -692,7 +692,7 @@ gl_FragCoord origin is upper left
86: Label
87: 9(fvec4) Load 22(input)
88: 9(fvec4) Load 22(input)
89: 62(bvec4) FOrdNotEqual 87 88
89: 62(bvec4) FUnordNotEqual 87 88
90: 61(bool) Any 89
BranchConditional 90 83 84
83: Label

View File

@ -184,7 +184,7 @@ using depth_any
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 160
Capability Shader

View File

@ -64,7 +64,7 @@ gl_FragCoord origin is upper left
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 25
Capability Shader

View File

@ -262,7 +262,7 @@ using depth_any
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 124
Capability Shader

View File

@ -258,7 +258,7 @@ using depth_any
0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 135
Capability Shader

View File

@ -220,7 +220,7 @@ Shader version: 500
0:? '@entryPointOutput.Pos' ( out 4-component vector of float Position)
// Module Version 10000
// Generated by (magic number): 80009
// Generated by (magic number): 8000a
// Id's are bound by 126
Capability Shader

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