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
6f220c0f
Commit
6f220c0f
authored
Aug 29, 2016
by
Dan Baker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLSL: Setting SV_DEPTHGREATEREQUAL and SV_DEPTHLESSEQUAL to EbvFragDepth for now
parent
26aa8a4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+6
-6
No files found.
hlsl/hlslParseHelper.cpp
View file @
6f220c0f
...
@@ -2359,14 +2359,14 @@ void HlslParseContext::handleSemantic(TType& type, const TString& semantic)
...
@@ -2359,14 +2359,14 @@ void HlslParseContext::handleSemantic(TType& type, const TString& semantic)
type
.
getQualifier
().
builtIn
=
EbvTessCoord
;
type
.
getQualifier
().
builtIn
=
EbvTessCoord
;
else
if
(
semanticUpperCase
==
"SV_DEPTH"
)
else
if
(
semanticUpperCase
==
"SV_DEPTH"
)
type
.
getQualifier
().
builtIn
=
EbvFragDepth
;
type
.
getQualifier
().
builtIn
=
EbvFragDepth
;
//TODO, these need to get refined to be more specific
else
if
(
semanticUpperCase
==
"SV_DEPTHGREATEREQUAL"
)
type
.
getQualifier
().
builtIn
=
EbvFragDepth
;
else
if
(
semanticUpperCase
==
"SV_DEPTHLESSEQUAL"
)
type
.
getQualifier
().
builtIn
=
EbvFragDepth
;
//not supported or not trivial
//not supported or not trivial
//else if( semanticUpperCase == "SV_STENCILREF")
//else if( semanticUpperCase == "SV_STENCILREF")
// type.getQualifier().builtIn = gl_FragStencilRef
// type.getQualifier().builtIn = gl_FragStencilRef
//else if( semanticUpperCase == "SV_DEPTHGREATEREQUAL")
// type.getQualifier().builtIn = ??
//else if( semanticUpperCase == "SV_DEPTHLESSEQUAL")
// type.getQualifier().builtIn = ??
// type.getQualifier().builtIn = ??
//else if( semanticUpperCase == "SV_COVERAGE")
//else if( semanticUpperCase == "SV_COVERAGE")
// type.getQualifier().builtIn = ??
// type.getQualifier().builtIn = ??
...
...
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