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
788fbeb3
Commit
788fbeb3
authored
Dec 15, 2017
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLSL: Make attributes for built-in override semantics.
Fixes #1188.
parent
a67d0706
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
hlsl.PointSize.geom
Test/hlsl.PointSize.geom
+1
-1
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+2
-1
No files found.
Test/hlsl.PointSize.geom
View file @
788fbeb3
struct
S
{
[[
vk
::
builtin
(
"PointSize"
)]]
float
ps
;
[[
vk
::
builtin
(
"PointSize"
)]]
float
ps
:
PSIZE
;
};
[
maxvertexcount
(
4
)]
...
...
hlsl/hlslParseHelper.cpp
View file @
788fbeb3
...
...
@@ -5856,7 +5856,8 @@ void HlslParseContext::handleSemantic(TSourceLoc loc, TQualifier& qualifier, TBu
break
;
}
qualifier
.
builtIn
=
builtIn
;
if
(
qualifier
.
builtIn
==
EbvNone
)
qualifier
.
builtIn
=
builtIn
;
qualifier
.
semanticName
=
intermediate
.
addSemanticName
(
upperCase
);
}
...
...
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