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
ebfca609
Commit
ebfca609
authored
Apr 21, 2021
by
Greg Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change --hlsl-sampled-textures to --auto-sampled-textures
parent
219b7b9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
StandAlone.cpp
StandAlone/StandAlone.cpp
+4
-4
No files found.
StandAlone/StandAlone.cpp
View file @
ebfca609
...
...
@@ -111,7 +111,7 @@ bool NaNClamp = false;
bool
stripDebugInfo
=
false
;
bool
beQuiet
=
false
;
bool
VulkanRulesRelaxed
=
false
;
bool
hlsl
SampledTextures
=
false
;
bool
auto
SampledTextures
=
false
;
//
// Return codes from main/exit().
...
...
@@ -656,8 +656,8 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
HlslEnable16BitTypes
=
true
;
}
else
if
(
lowerword
==
"hlsl-dx9-compatible"
)
{
HlslDX9compatible
=
true
;
}
else
if
(
lowerword
==
"
hlsl
-sampled-textures"
)
{
hlsl
SampledTextures
=
true
;
}
else
if
(
lowerword
==
"
auto
-sampled-textures"
)
{
auto
SampledTextures
=
true
;
}
else
if
(
lowerword
==
"invert-y"
||
// synonyms
lowerword
==
"iy"
)
{
Options
|=
EOptionInvertY
;
...
...
@@ -1192,7 +1192,7 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
shader
->
setNoStorageFormat
((
Options
&
EOptionNoStorageFormat
)
!=
0
);
shader
->
setResourceSetBinding
(
baseResourceSetBinding
[
compUnit
.
stage
]);
if
(
hlsl
SampledTextures
)
if
(
auto
SampledTextures
)
shader
->
setTextureSamplerTransformMode
(
EShTexSampTransUpgradeTextureRemoveSampler
);
if
(
Options
&
EOptionAutoMapBindings
)
...
...
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