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
b64952ed
Commit
b64952ed
authored
May 09, 2019
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPV 1.4: Move to 1.4 validation, removing all 1.4 validation failures.
parent
f43c739a
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
12 deletions
+15
-12
SpvTools.cpp
SPIRV/SpvTools.cpp
+15
-2
spv.1.4.LoopControl.frag.out
Test/baseResults/spv.1.4.LoopControl.frag.out
+0
-1
spv.1.4.NonWritable.frag.out
Test/baseResults/spv.1.4.NonWritable.frag.out
+0
-1
spv.1.4.OpCopyLogical.comp.out
Test/baseResults/spv.1.4.OpCopyLogical.comp.out
+0
-1
spv.1.4.OpCopyLogical.funcall.frag.out
Test/baseResults/spv.1.4.OpCopyLogical.funcall.frag.out
+0
-1
spv.1.4.OpCopyLogicalBool.comp.out
Test/baseResults/spv.1.4.OpCopyLogicalBool.comp.out
+0
-1
spv.1.4.OpEntryPoint.frag.out
Test/baseResults/spv.1.4.OpEntryPoint.frag.out
+0
-1
spv.1.4.OpSelect.frag.out
Test/baseResults/spv.1.4.OpSelect.frag.out
+0
-1
spv.1.4.image.frag.out
Test/baseResults/spv.1.4.image.frag.out
+0
-1
spv.1.4.sparseTexture.frag.out
Test/baseResults/spv.1.4.sparseTexture.frag.out
+0
-1
spv.1.4.texture.frag.out
Test/baseResults/spv.1.4.texture.frag.out
+0
-1
No files found.
SPIRV/SpvTools.cpp
View file @
b64952ed
...
...
@@ -52,8 +52,21 @@ namespace glslang {
spv_target_env
MapToSpirvToolsEnv
(
const
SpvVersion
&
spvVersion
,
spv
::
SpvBuildLogger
*
logger
)
{
switch
(
spvVersion
.
vulkan
)
{
case
glslang
:
:
EShTargetVulkan_1_0
:
return
spv_target_env
::
SPV_ENV_VULKAN_1_0
;
case
glslang
:
:
EShTargetVulkan_1_1
:
return
spv_target_env
::
SPV_ENV_VULKAN_1_1
;
case
glslang
:
:
EShTargetVulkan_1_0
:
return
spv_target_env
::
SPV_ENV_VULKAN_1_0
;
case
glslang
:
:
EShTargetVulkan_1_1
:
switch
(
spvVersion
.
spv
)
{
case
EShTargetSpv_1_0
:
case
EShTargetSpv_1_1
:
case
EShTargetSpv_1_2
:
case
EShTargetSpv_1_3
:
return
spv_target_env
::
SPV_ENV_VULKAN_1_1
;
case
EShTargetSpv_1_4
:
return
spv_target_env
::
SPV_ENV_VULKAN_1_1_SPIRV_1_4
;
default
:
logger
->
missingFunctionality
(
"Target version for SPIRV-Tools validator"
);
return
spv_target_env
::
SPV_ENV_VULKAN_1_1
;
}
default
:
break
;
}
...
...
Test/baseResults/spv.1.4.LoopControl.frag.out
View file @
b64952ed
...
...
@@ -2,7 +2,6 @@ spv.1.4.LoopControl.frag
WARNING: 0:15: 'min_iterations' : expected a single integer argument
WARNING: 0:15: 'max_iterations' : expected a single integer argument
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 54
...
...
Test/baseResults/spv.1.4.NonWritable.frag.out
View file @
b64952ed
spv.1.4.NonWritable.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 38
...
...
Test/baseResults/spv.1.4.OpCopyLogical.comp.out
View file @
b64952ed
spv.1.4.OpCopyLogical.comp
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 65
...
...
Test/baseResults/spv.1.4.OpCopyLogical.funcall.frag.out
View file @
b64952ed
spv.1.4.OpCopyLogical.funcall.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 60
...
...
Test/baseResults/spv.1.4.OpCopyLogicalBool.comp.out
View file @
b64952ed
spv.1.4.OpCopyLogicalBool.comp
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 135
...
...
Test/baseResults/spv.1.4.OpEntryPoint.frag.out
View file @
b64952ed
spv.1.4.OpEntryPoint.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 64
...
...
Test/baseResults/spv.1.4.OpSelect.frag.out
View file @
b64952ed
spv.1.4.OpSelect.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 98
...
...
Test/baseResults/spv.1.4.image.frag.out
View file @
b64952ed
spv.1.4.image.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 104
...
...
Test/baseResults/spv.1.4.sparseTexture.frag.out
View file @
b64952ed
spv.1.4.sparseTexture.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 213
...
...
Test/baseResults/spv.1.4.texture.frag.out
View file @
b64952ed
spv.1.4.texture.frag
Validation failed
// Module Version 10400
// Generated by (magic number): 80007
// Id's are bound by 79
...
...
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