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
c7e50161
Commit
c7e50161
authored
Aug 05, 2016
by
Dan Baker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commenting out attempt to parse DX9 samplers, since this is imcompatible with DX10+ shaders
parent
0e46eaef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
hlslGrammar.cpp
hlsl/hlslGrammar.cpp
+8
-2
No files found.
hlsl/hlslGrammar.cpp
View file @
c7e50161
...
...
@@ -274,8 +274,14 @@ bool HlslGrammar::acceptDeclaration(TIntermNode*& node)
TType
type
;
// DX9 sampler declaration use a different syntax
if
(
acceptSamplerDeclarationDX9
(
type
))
return
true
;
// DX9 shaders need to run through HLSL compiler (fxc) via a back compat mode, it isn't going to
// be possible to simultanously compile D3D10+ style shaders and DX9 shaders. If we want to compile DX9
// HLSL shaders, this will have to be a master level switch
// As such, the sampler keyword in D3D10+ turns into an automatic sampler type, and is commonly used
// For that reason, this line is commented out
// if (acceptSamplerDeclarationDX9(type))
// return true;
// fully_specified_type
if
(
!
acceptFullySpecifiedType
(
type
))
...
...
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