Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
6d4496d5
Commit
6d4496d5
authored
Nov 23, 2020
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move to the most recent SPIRV-Headers and SPIRV-Tools.
parent
7f6559d2
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
57 additions
and
29 deletions
+57
-29
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+1
-1
SpvBuilder.cpp
SPIRV/SpvBuilder.cpp
+4
-4
doc.cpp
SPIRV/doc.cpp
+3
-3
spirv.hpp
SPIRV/spirv.hpp
+17
-10
rayQuery-allOps.comp.out
Test/baseResults/rayQuery-allOps.comp.out
+2
-2
rayQuery-allOps.frag.out
Test/baseResults/rayQuery-allOps.frag.out
+2
-1
rayQuery-allOps.rgen.out
Test/baseResults/rayQuery-allOps.rgen.out
+2
-1
rayQuery-initialize.rgen.out
Test/baseResults/rayQuery-initialize.rgen.out
+2
-1
rayQuery-no-cse.rgen.out
Test/baseResults/rayQuery-no-cse.rgen.out
+2
-1
rayQuery.rgen.out
Test/baseResults/rayQuery.rgen.out
+2
-1
spv.AnyHitShader.rahit.out
Test/baseResults/spv.AnyHitShader.rahit.out
+1
-0
spv.ClosestHitShader.rchit.out
Test/baseResults/spv.ClosestHitShader.rchit.out
+1
-0
spv.MissShader.rmiss.out
Test/baseResults/spv.MissShader.rmiss.out
+1
-0
spv.RayCallable.rcall.out
Test/baseResults/spv.RayCallable.rcall.out
+1
-0
spv.RayConstants.rgen.out
Test/baseResults/spv.RayConstants.rgen.out
+1
-0
spv.RayGenShader.rgen.out
Test/baseResults/spv.RayGenShader.rgen.out
+1
-0
spv.RayGenShader11.rgen.out
Test/baseResults/spv.RayGenShader11.rgen.out
+1
-0
spv.RayGenShaderArray.rgen.out
Test/baseResults/spv.RayGenShaderArray.rgen.out
+1
-0
spv.ext.AnyHitShader.rahit.out
Test/baseResults/spv.ext.AnyHitShader.rahit.out
+1
-0
spv.ext.ClosestHitShader.rchit.out
Test/baseResults/spv.ext.ClosestHitShader.rchit.out
+1
-0
spv.ext.IntersectShader.rint.out
Test/baseResults/spv.ext.IntersectShader.rint.out
+1
-0
spv.ext.MissShader.rmiss.out
Test/baseResults/spv.ext.MissShader.rmiss.out
+1
-0
spv.ext.RayCallable.rcall.out
Test/baseResults/spv.ext.RayCallable.rcall.out
+1
-0
spv.ext.RayConstants.rgen.out
Test/baseResults/spv.ext.RayConstants.rgen.out
+1
-0
spv.ext.RayGenShader.rgen.out
Test/baseResults/spv.ext.RayGenShader.rgen.out
+1
-1
spv.ext.RayGenShader11.rgen.out
Test/baseResults/spv.ext.RayGenShader11.rgen.out
+1
-0
spv.ext.RayGenShaderArray.rgen.out
Test/baseResults/spv.ext.RayGenShaderArray.rgen.out
+1
-0
spv.ext.World3x4.rahit.out
Test/baseResults/spv.ext.World3x4.rahit.out
+1
-0
spv.meshShaderPerViewBuiltins.mesh.out
Test/baseResults/spv.meshShaderPerViewBuiltins.mesh.out
+0
-1
known_good.json
known_good.json
+2
-2
No files found.
SPIRV/GlslangToSpv.cpp
View file @
6d4496d5
...
@@ -1501,7 +1501,7 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion,
...
@@ -1501,7 +1501,7 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion,
}
}
if
(
glslangIntermediate
->
getLayoutPrimitiveCulling
())
{
if
(
glslangIntermediate
->
getLayoutPrimitiveCulling
())
{
builder
.
addCapability
(
spv
::
CapabilityRayTraversalPrimitiveCulling
Provisional
KHR
);
builder
.
addCapability
(
spv
::
CapabilityRayTraversalPrimitiveCullingKHR
);
}
}
unsigned
int
mode
;
unsigned
int
mode
;
...
...
SPIRV/SpvBuilder.cpp
View file @
6d4496d5
...
@@ -621,13 +621,13 @@ Id Builder::makeAccelerationStructureType()
...
@@ -621,13 +621,13 @@ Id Builder::makeAccelerationStructureType()
Id
Builder
::
makeRayQueryType
()
Id
Builder
::
makeRayQueryType
()
{
{
Instruction
*
type
;
Instruction
*
type
;
if
(
groupedTypes
[
OpTypeRayQuery
Provisional
KHR
].
size
()
==
0
)
{
if
(
groupedTypes
[
OpTypeRayQueryKHR
].
size
()
==
0
)
{
type
=
new
Instruction
(
getUniqueId
(),
NoType
,
OpTypeRayQuery
Provisional
KHR
);
type
=
new
Instruction
(
getUniqueId
(),
NoType
,
OpTypeRayQueryKHR
);
groupedTypes
[
OpTypeRayQuery
Provisional
KHR
].
push_back
(
type
);
groupedTypes
[
OpTypeRayQueryKHR
].
push_back
(
type
);
constantsTypesGlobals
.
push_back
(
std
::
unique_ptr
<
Instruction
>
(
type
));
constantsTypesGlobals
.
push_back
(
std
::
unique_ptr
<
Instruction
>
(
type
));
module
.
mapInstruction
(
type
);
module
.
mapInstruction
(
type
);
}
else
{
}
else
{
type
=
groupedTypes
[
OpTypeRayQuery
Provisional
KHR
].
back
();
type
=
groupedTypes
[
OpTypeRayQueryKHR
].
back
();
}
}
return
type
->
getResultId
();
return
type
->
getResultId
();
...
...
SPIRV/doc.cpp
View file @
6d4496d5
...
@@ -917,7 +917,7 @@ const char* CapabilityString(int info)
...
@@ -917,7 +917,7 @@ const char* CapabilityString(int info)
case
CapabilityRayTracingNV
:
return
"RayTracingNV"
;
case
CapabilityRayTracingNV
:
return
"RayTracingNV"
;
case
CapabilityRayTracingProvisionalKHR
:
return
"RayTracingProvisionalKHR"
;
case
CapabilityRayTracingProvisionalKHR
:
return
"RayTracingProvisionalKHR"
;
case
CapabilityRayQueryProvisionalKHR
:
return
"RayQueryProvisionalKHR"
;
case
CapabilityRayQueryProvisionalKHR
:
return
"RayQueryProvisionalKHR"
;
case
CapabilityRayTraversalPrimitiveCulling
ProvisionalKHR
:
return
"RayTraversalPrimitiveCullingProvisional
KHR"
;
case
CapabilityRayTraversalPrimitiveCulling
KHR
:
return
"RayTraversalPrimitiveCulling
KHR"
;
case
CapabilityComputeDerivativeGroupQuadsNV
:
return
"ComputeDerivativeGroupQuadsNV"
;
case
CapabilityComputeDerivativeGroupQuadsNV
:
return
"ComputeDerivativeGroupQuadsNV"
;
case
CapabilityComputeDerivativeGroupLinearNV
:
return
"ComputeDerivativeGroupLinearNV"
;
case
CapabilityComputeDerivativeGroupLinearNV
:
return
"ComputeDerivativeGroupLinearNV"
;
case
CapabilityFragmentBarycentricNV
:
return
"FragmentBarycentricNV"
;
case
CapabilityFragmentBarycentricNV
:
return
"FragmentBarycentricNV"
;
...
@@ -1374,7 +1374,7 @@ const char* OpcodeString(int op)
...
@@ -1374,7 +1374,7 @@ const char* OpcodeString(int op)
case
OpImageSampleFootprintNV
:
return
"OpImageSampleFootprintNV"
;
case
OpImageSampleFootprintNV
:
return
"OpImageSampleFootprintNV"
;
case
OpWritePackedPrimitiveIndices4x8NV
:
return
"OpWritePackedPrimitiveIndices4x8NV"
;
case
OpWritePackedPrimitiveIndices4x8NV
:
return
"OpWritePackedPrimitiveIndices4x8NV"
;
case
OpTypeRayQuery
ProvisionalKHR
:
return
"OpTypeRayQueryProvisional
KHR"
;
case
OpTypeRayQuery
KHR
:
return
"OpTypeRayQuery
KHR"
;
case
OpRayQueryInitializeKHR
:
return
"OpRayQueryInitializeKHR"
;
case
OpRayQueryInitializeKHR
:
return
"OpRayQueryInitializeKHR"
;
case
OpRayQueryTerminateKHR
:
return
"OpRayQueryTerminateKHR"
;
case
OpRayQueryTerminateKHR
:
return
"OpRayQueryTerminateKHR"
;
case
OpRayQueryGenerateIntersectionKHR
:
return
"OpRayQueryGenerateIntersectionKHR"
;
case
OpRayQueryGenerateIntersectionKHR
:
return
"OpRayQueryGenerateIntersectionKHR"
;
...
@@ -2797,7 +2797,7 @@ void Parameterize()
...
@@ -2797,7 +2797,7 @@ void Parameterize()
// Ray Query
// Ray Query
InstructionDesc
[
OpTypeAccelerationStructureKHR
].
setResultAndType
(
true
,
false
);
InstructionDesc
[
OpTypeAccelerationStructureKHR
].
setResultAndType
(
true
,
false
);
InstructionDesc
[
OpTypeRayQuery
Provisional
KHR
].
setResultAndType
(
true
,
false
);
InstructionDesc
[
OpTypeRayQueryKHR
].
setResultAndType
(
true
,
false
);
InstructionDesc
[
OpRayQueryInitializeKHR
].
operands
.
push
(
OperandId
,
"'RayQuery'"
);
InstructionDesc
[
OpRayQueryInitializeKHR
].
operands
.
push
(
OperandId
,
"'RayQuery'"
);
InstructionDesc
[
OpRayQueryInitializeKHR
].
operands
.
push
(
OperandId
,
"'AccelerationS'"
);
InstructionDesc
[
OpRayQueryInitializeKHR
].
operands
.
push
(
OperandId
,
"'AccelerationS'"
);
...
...
SPIRV/spirv.hpp
View file @
6d4496d5
...
@@ -50,11 +50,11 @@ namespace spv {
...
@@ -50,11 +50,11 @@ namespace spv {
typedef
unsigned
int
Id
;
typedef
unsigned
int
Id
;
#define SPV_VERSION 0x10500
#define SPV_VERSION 0x10500
#define SPV_REVISION
3
#define SPV_REVISION
4
static
const
unsigned
int
MagicNumber
=
0x07230203
;
static
const
unsigned
int
MagicNumber
=
0x07230203
;
static
const
unsigned
int
Version
=
0x00010500
;
static
const
unsigned
int
Version
=
0x00010500
;
static
const
unsigned
int
Revision
=
3
;
static
const
unsigned
int
Revision
=
4
;
static
const
unsigned
int
OpCodeMask
=
0xffff
;
static
const
unsigned
int
OpCodeMask
=
0xffff
;
static
const
unsigned
int
WordCountShift
=
16
;
static
const
unsigned
int
WordCountShift
=
16
;
...
@@ -899,7 +899,9 @@ enum Capability {
...
@@ -899,7 +899,9 @@ enum Capability {
CapabilityRoundingModeRTE
=
4467
,
CapabilityRoundingModeRTE
=
4467
,
CapabilityRoundingModeRTZ
=
4468
,
CapabilityRoundingModeRTZ
=
4468
,
CapabilityRayQueryProvisionalKHR
=
4471
,
CapabilityRayQueryProvisionalKHR
=
4471
,
CapabilityRayTraversalPrimitiveCullingProvisionalKHR
=
4478
,
CapabilityRayQueryKHR
=
4472
,
CapabilityRayTraversalPrimitiveCullingKHR
=
4478
,
CapabilityRayTracingKHR
=
4479
,
CapabilityFloat16ImageAMD
=
5008
,
CapabilityFloat16ImageAMD
=
5008
,
CapabilityImageGatherBiasLodAMD
=
5009
,
CapabilityImageGatherBiasLodAMD
=
5009
,
CapabilityFragmentMaskAMD
=
5010
,
CapabilityFragmentMaskAMD
=
5010
,
...
@@ -1398,7 +1400,12 @@ enum Op {
...
@@ -1398,7 +1400,12 @@ enum Op {
OpSubgroupAnyKHR
=
4429
,
OpSubgroupAnyKHR
=
4429
,
OpSubgroupAllEqualKHR
=
4430
,
OpSubgroupAllEqualKHR
=
4430
,
OpSubgroupReadInvocationKHR
=
4432
,
OpSubgroupReadInvocationKHR
=
4432
,
OpTypeRayQueryProvisionalKHR
=
4472
,
OpTraceRayKHR
=
4445
,
OpExecuteCallableKHR
=
4446
,
OpConvertUToAccelerationStructureKHR
=
4447
,
OpIgnoreIntersectionKHR
=
4448
,
OpTerminateRayKHR
=
4449
,
OpTypeRayQueryKHR
=
4472
,
OpRayQueryInitializeKHR
=
4473
,
OpRayQueryInitializeKHR
=
4473
,
OpRayQueryTerminateKHR
=
4474
,
OpRayQueryTerminateKHR
=
4474
,
OpRayQueryGenerateIntersectionKHR
=
4475
,
OpRayQueryGenerateIntersectionKHR
=
4475
,
...
@@ -1421,15 +1428,11 @@ enum Op {
...
@@ -1421,15 +1428,11 @@ enum Op {
OpWritePackedPrimitiveIndices4x8NV
=
5299
,
OpWritePackedPrimitiveIndices4x8NV
=
5299
,
OpReportIntersectionKHR
=
5334
,
OpReportIntersectionKHR
=
5334
,
OpReportIntersectionNV
=
5334
,
OpReportIntersectionNV
=
5334
,
OpIgnoreIntersectionKHR
=
5335
,
OpIgnoreIntersectionNV
=
5335
,
OpIgnoreIntersectionNV
=
5335
,
OpTerminateRayKHR
=
5336
,
OpTerminateRayNV
=
5336
,
OpTerminateRayNV
=
5336
,
OpTraceNV
=
5337
,
OpTraceNV
=
5337
,
OpTraceRayKHR
=
5337
,
OpTypeAccelerationStructureKHR
=
5341
,
OpTypeAccelerationStructureKHR
=
5341
,
OpTypeAccelerationStructureNV
=
5341
,
OpTypeAccelerationStructureNV
=
5341
,
OpExecuteCallableKHR
=
5344
,
OpExecuteCallableNV
=
5344
,
OpExecuteCallableNV
=
5344
,
OpTypeCooperativeMatrixNV
=
5358
,
OpTypeCooperativeMatrixNV
=
5358
,
OpCooperativeMatrixLoadNV
=
5359
,
OpCooperativeMatrixLoadNV
=
5359
,
...
@@ -1849,7 +1852,6 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
...
@@ -1849,7 +1852,6 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case
OpBranchConditional
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpBranchConditional
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpSwitch
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpSwitch
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpKill
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpKill
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpTerminateInvocation
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpReturn
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpReturn
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpReturnValue
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpReturnValue
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpUnreachable
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpUnreachable
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
...
@@ -1970,7 +1972,12 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
...
@@ -1970,7 +1972,12 @@ inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
case
OpSubgroupAnyKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpSubgroupAnyKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpSubgroupAllEqualKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpSubgroupAllEqualKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpSubgroupReadInvocationKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpSubgroupReadInvocationKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpTypeRayQueryProvisionalKHR
:
*
hasResult
=
true
;
*
hasResultType
=
false
;
break
;
case
OpTraceRayKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpExecuteCallableKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpConvertUToAccelerationStructureKHR
:
*
hasResult
=
true
;
*
hasResultType
=
true
;
break
;
case
OpIgnoreIntersectionKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpTerminateRayKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpTypeRayQueryKHR
:
*
hasResult
=
true
;
*
hasResultType
=
false
;
break
;
case
OpRayQueryInitializeKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpRayQueryInitializeKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpRayQueryTerminateKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpRayQueryTerminateKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpRayQueryGenerateIntersectionKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
case
OpRayQueryGenerateIntersectionKHR
:
*
hasResult
=
false
;
*
hasResultType
=
false
;
break
;
...
...
Test/baseResults/rayQuery-allOps.comp.out
View file @
6d4496d5
...
@@ -5,7 +5,7 @@ rayQuery-allOps.comp
...
@@ -5,7 +5,7 @@ rayQuery-allOps.comp
Capability Shader
Capability Shader
Capability RayQueryProvisionalKHR
Capability RayQueryProvisionalKHR
Capability RayTraversalPrimitiveCulling
Provisional
KHR
Capability RayTraversalPrimitiveCullingKHR
Extension "SPV_KHR_ray_query"
Extension "SPV_KHR_ray_query"
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
MemoryModel Logical GLSL450
...
@@ -86,7 +86,7 @@ rayQuery-allOps.comp
...
@@ -86,7 +86,7 @@ rayQuery-allOps.comp
35: TypePointer Function 8(float)
35: TypePointer Function 8(float)
37: 18(int) Constant 3
37: 18(int) Constant 3
38: 8(float) Constant 1176255488
38: 8(float) Constant 1176255488
45: TypeRayQuery
Provisional
KHR
45: TypeRayQueryKHR
46: TypePointer Function 45
46: TypePointer Function 45
48: TypeAccelerationStructureKHR
48: TypeAccelerationStructureKHR
49: TypePointer UniformConstant 48
49: TypePointer UniformConstant 48
...
...
Test/baseResults/rayQuery-allOps.frag.out
View file @
6d4496d5
rayQuery-allOps.frag
rayQuery-allOps.frag
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 257
// Id's are bound by 257
...
@@ -85,7 +86,7 @@ rayQuery-allOps.frag
...
@@ -85,7 +86,7 @@ rayQuery-allOps.frag
35: TypePointer Function 8(float)
35: TypePointer Function 8(float)
37: 18(int) Constant 3
37: 18(int) Constant 3
38: 8(float) Constant 1176255488
38: 8(float) Constant 1176255488
45: TypeRayQuery
Provisional
KHR
45: TypeRayQueryKHR
46: TypePointer Function 45
46: TypePointer Function 45
48: TypeAccelerationStructureKHR
48: TypeAccelerationStructureKHR
49: TypePointer UniformConstant 48
49: TypePointer UniformConstant 48
...
...
Test/baseResults/rayQuery-allOps.rgen.out
View file @
6d4496d5
rayQuery-allOps.rgen
rayQuery-allOps.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 257
// Id's are bound by 257
...
@@ -85,7 +86,7 @@ rayQuery-allOps.rgen
...
@@ -85,7 +86,7 @@ rayQuery-allOps.rgen
35: TypePointer Function 8(float)
35: TypePointer Function 8(float)
37: 18(int) Constant 3
37: 18(int) Constant 3
38: 8(float) Constant 1176255488
38: 8(float) Constant 1176255488
45: TypeRayQuery
Provisional
KHR
45: TypeRayQueryKHR
46: TypePointer Function 45
46: TypePointer Function 45
48: TypeAccelerationStructureKHR
48: TypeAccelerationStructureKHR
49: TypePointer UniformConstant 48
49: TypePointer UniformConstant 48
...
...
Test/baseResults/rayQuery-initialize.rgen.out
View file @
6d4496d5
rayQuery-initialize.rgen
rayQuery-initialize.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 103
// Id's are bound by 103
...
@@ -55,7 +56,7 @@ rayQuery-initialize.rgen
...
@@ -55,7 +56,7 @@ rayQuery-initialize.rgen
3: TypeFunction 2
3: TypeFunction 2
6: TypeInt 32 0
6: TypeInt 32 0
7: TypeFunction 6(int)
7: TypeFunction 6(int)
10: TypeRayQuery
Provisional
KHR
10: TypeRayQueryKHR
11: TypePointer Function 10
11: TypePointer Function 10
12: TypeFloat 32
12: TypeFloat 32
13: TypeVector 12(float) 3
13: TypeVector 12(float) 3
...
...
Test/baseResults/rayQuery-no-cse.rgen.out
View file @
6d4496d5
rayQuery-no-cse.rgen
rayQuery-no-cse.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 107
// Id's are bound by 107
...
@@ -57,7 +58,7 @@ rayQuery-no-cse.rgen
...
@@ -57,7 +58,7 @@ rayQuery-no-cse.rgen
3: TypeFunction 2
3: TypeFunction 2
6: TypeInt 32 0
6: TypeInt 32 0
7: TypeFunction 6(int)
7: TypeFunction 6(int)
10: TypeRayQuery
Provisional
KHR
10: TypeRayQueryKHR
11: TypePointer Function 10
11: TypePointer Function 10
12: TypeFloat 32
12: TypeFloat 32
13: TypeVector 12(float) 3
13: TypeVector 12(float) 3
...
...
Test/baseResults/rayQuery.rgen.out
View file @
6d4496d5
rayQuery.rgen
rayQuery.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 44
// Id's are bound by 44
...
@@ -39,7 +40,7 @@ rayQuery.rgen
...
@@ -39,7 +40,7 @@ rayQuery.rgen
11: TypePointer Function 10(float)
11: TypePointer Function 10(float)
13: 10(float) Constant 0
13: 10(float) Constant 0
15: 10(float) Constant 1148846080
15: 10(float) Constant 1148846080
16: TypeRayQuery
Provisional
KHR
16: TypeRayQueryKHR
17: TypePointer Function 16
17: TypePointer Function 16
19: TypeAccelerationStructureKHR
19: TypeAccelerationStructureKHR
20: TypePointer UniformConstant 19
20: TypePointer UniformConstant 19
...
...
Test/baseResults/spv.AnyHitShader.rahit.out
View file @
6d4496d5
spv.AnyHitShader.rahit
spv.AnyHitShader.rahit
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 81
// Id's are bound by 81
...
...
Test/baseResults/spv.ClosestHitShader.rchit.out
View file @
6d4496d5
spv.ClosestHitShader.rchit
spv.ClosestHitShader.rchit
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 88
// Id's are bound by 88
...
...
Test/baseResults/spv.MissShader.rmiss.out
View file @
6d4496d5
spv.MissShader.rmiss
spv.MissShader.rmiss
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 60
// Id's are bound by 60
...
...
Test/baseResults/spv.RayCallable.rcall.out
View file @
6d4496d5
spv.RayCallable.rcall
spv.RayCallable.rcall
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 30
// Id's are bound by 30
...
...
Test/baseResults/spv.RayConstants.rgen.out
View file @
6d4496d5
spv.RayConstants.rgen
spv.RayConstants.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 27
// Id's are bound by 27
...
...
Test/baseResults/spv.RayGenShader.rgen.out
View file @
6d4496d5
spv.RayGenShader.rgen
spv.RayGenShader.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 54
// Id's are bound by 54
...
...
Test/baseResults/spv.RayGenShader11.rgen.out
View file @
6d4496d5
spv.RayGenShader11.rgen
spv.RayGenShader11.rgen
Validation failed
// Module Version 10300
// Module Version 10300
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 53
// Id's are bound by 53
...
...
Test/baseResults/spv.RayGenShaderArray.rgen.out
View file @
6d4496d5
spv.RayGenShaderArray.rgen
spv.RayGenShaderArray.rgen
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 89
// Id's are bound by 89
...
...
Test/baseResults/spv.ext.AnyHitShader.rahit.out
View file @
6d4496d5
spv.ext.AnyHitShader.rahit
spv.ext.AnyHitShader.rahit
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 94
// Id's are bound by 94
...
...
Test/baseResults/spv.ext.ClosestHitShader.rchit.out
View file @
6d4496d5
spv.ext.ClosestHitShader.rchit
spv.ext.ClosestHitShader.rchit
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 101
// Id's are bound by 101
...
...
Test/baseResults/spv.ext.IntersectShader.rint.out
View file @
6d4496d5
spv.ext.IntersectShader.rint
spv.ext.IntersectShader.rint
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 81
// Id's are bound by 81
...
...
Test/baseResults/spv.ext.MissShader.rmiss.out
View file @
6d4496d5
spv.ext.MissShader.rmiss
spv.ext.MissShader.rmiss
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 54
// Id's are bound by 54
...
...
Test/baseResults/spv.ext.RayCallable.rcall.out
View file @
6d4496d5
spv.ext.RayCallable.rcall
spv.ext.RayCallable.rcall
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 30
// Id's are bound by 30
...
...
Test/baseResults/spv.ext.RayConstants.rgen.out
View file @
6d4496d5
spv.ext.RayConstants.rgen
spv.ext.RayConstants.rgen
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 27
// Id's are bound by 27
...
...
Test/baseResults/spv.ext.RayGenShader.rgen.out
View file @
6d4496d5
...
@@ -3,7 +3,7 @@ spv.ext.RayGenShader.rgen
...
@@ -3,7 +3,7 @@ spv.ext.RayGenShader.rgen
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 58
// Id's are bound by 58
Capability RayTraversalPrimitiveCulling
Provisional
KHR
Capability RayTraversalPrimitiveCullingKHR
Capability RayTracingProvisionalKHR
Capability RayTracingProvisionalKHR
Extension "SPV_KHR_ray_tracing"
Extension "SPV_KHR_ray_tracing"
1: ExtInstImport "GLSL.std.450"
1: ExtInstImport "GLSL.std.450"
...
...
Test/baseResults/spv.ext.RayGenShader11.rgen.out
View file @
6d4496d5
spv.ext.RayGenShader11.rgen
spv.ext.RayGenShader11.rgen
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 53
// Id's are bound by 53
...
...
Test/baseResults/spv.ext.RayGenShaderArray.rgen.out
View file @
6d4496d5
spv.ext.RayGenShaderArray.rgen
spv.ext.RayGenShaderArray.rgen
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 89
// Id's are bound by 89
...
...
Test/baseResults/spv.ext.World3x4.rahit.out
View file @
6d4496d5
spv.ext.World3x4.rahit
spv.ext.World3x4.rahit
Validation failed
// Module Version 10400
// Module Version 10400
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 90
// Id's are bound by 90
...
...
Test/baseResults/spv.meshShaderPerViewBuiltins.mesh.out
View file @
6d4496d5
spv.meshShaderPerViewBuiltins.mesh
spv.meshShaderPerViewBuiltins.mesh
Validation failed
// Module Version 10000
// Module Version 10000
// Generated by (magic number): 8000a
// Generated by (magic number): 8000a
// Id's are bound by 126
// Id's are bound by 126
...
...
known_good.json
View file @
6d4496d5
...
@@ -5,14 +5,14 @@
...
@@ -5,14 +5,14 @@
"site"
:
"github"
,
"site"
:
"github"
,
"subrepo"
:
"KhronosGroup/SPIRV-Tools"
,
"subrepo"
:
"KhronosGroup/SPIRV-Tools"
,
"subdir"
:
"External/spirv-tools"
,
"subdir"
:
"External/spirv-tools"
,
"commit"
:
"
56d0f50357a192602216bfc4873e714905323e35
"
"commit"
:
"
cd590fa3341284cd6d1ee82366155786cfd44c96
"
},
},
{
{
"name"
:
"spirv-tools/external/spirv-headers"
,
"name"
:
"spirv-tools/external/spirv-headers"
,
"site"
:
"github"
,
"site"
:
"github"
,
"subrepo"
:
"KhronosGroup/SPIRV-Headers"
,
"subrepo"
:
"KhronosGroup/SPIRV-Headers"
,
"subdir"
:
"External/spirv-tools/external/spirv-headers"
,
"subdir"
:
"External/spirv-tools/external/spirv-headers"
,
"commit"
:
"
05836bdba63e7debce9fa9feaed42f20cd43af9d
"
"commit"
:
"
104ecc356c1bea4476320faca64440cd1df655a3
"
}
}
]
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment