mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
Merge pull request #2260 from gnl21/not-equal
Use OpFUnordNotEqual for floating-point !=
This commit is contained in:
commit
8397044502
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user