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
dccfeedf
Commit
dccfeedf
authored
Jul 02, 2018
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLSL: Fix #1423: implement CalculateLevelOfDetailUnclamped().
(If there is a bias issue, we need to discover what it is.)
parent
ab8960fd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
hlsl.calculatelodunclamped.dx10.frag.out
Test/baseResults/hlsl.calculatelodunclamped.dx10.frag.out
+0
-0
hlslParseHelper.cpp
hlsl/hlslParseHelper.cpp
+3
-6
No files found.
Test/baseResults/hlsl.calculatelodunclamped.dx10.frag.out
View file @
dccfeedf
This diff is collapsed.
Click to expand it.
hlsl/hlslParseHelper.cpp
View file @
dccfeedf
...
...
@@ -4377,16 +4377,13 @@ void HlslParseContext::decomposeSampleMethods(const TSourceLoc& loc, TIntermType
txquerylod
->
getSequence
().
push_back
(
txcombine
);
txquerylod
->
getSequence
().
push_back
(
argCoord
);
TIntermTyped
*
lodComponent
=
intermediate
.
addConstantUnion
(
0
,
loc
,
true
);
TIntermTyped
*
lodComponent
=
intermediate
.
addConstantUnion
(
op
==
EOpMethodCalculateLevelOfDetail
?
0
:
1
,
loc
,
true
);
TIntermTyped
*
lodComponentIdx
=
intermediate
.
addIndex
(
EOpIndexDirect
,
txquerylod
,
lodComponent
,
loc
);
lodComponentIdx
->
setType
(
TType
(
EbtFloat
,
EvqTemporary
,
1
));
node
=
lodComponentIdx
;
// We cannot currently obtain the unclamped LOD
if
(
op
==
EOpMethodCalculateLevelOfDetailUnclamped
)
error
(
loc
,
"unimplemented: CalculateLevelOfDetailUnclamped"
,
""
,
""
);
break
;
}
...
...
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