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
4c25709f
Commit
4c25709f
authored
Oct 10, 2016
by
Rex Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parser: Some function prototypes of interpolateAtXXX are incorrect.
parent
19bdf90e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
spv.float16.frag.out
Test/baseResults/spv.float16.frag.out
+0
-0
spv.float16.frag
Test/spv.float16.frag
+1
-1
Initialize.cpp
glslang/MachineIndependent/Initialize.cpp
+8
-8
No files found.
Test/baseResults/spv.float16.frag.out
View file @
4c25709f
This diff is collapsed.
Click to expand it.
Test/spv.float16.frag
View file @
4c25709f
...
...
@@ -302,5 +302,5 @@ void builtinFragProcFuncs()
// Interpolation
f16v
.
x
=
interpolateAtCentroid
(
if16v
.
x
);
f16v
.
xy
=
interpolateAtSample
(
if16v
.
xy
,
1
);
f16v
=
interpolateAtOffset
(
if16v
,
vec2
(
0
.
5
));
f16v
=
interpolateAtOffset
(
if16v
,
f16vec2
(
0
.
5
hf
));
}
glslang/MachineIndependent/Initialize.cpp
View file @
4c25709f
...
...
@@ -2336,10 +2336,10 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV
"uvec3 interpolateAtVertexAMD(uvec3, uint);"
"uvec4 interpolateAtVertexAMD(uvec4, uint);"
"
uint
interpolateAtVertexAMD(float16_t, uint);"
"
uvec2
interpolateAtVertexAMD(f16vec2, uint);"
"
uvec3
interpolateAtVertexAMD(f16vec3, uint);"
"
uvec4
interpolateAtVertexAMD(f16vec4, uint);"
"
float16_t
interpolateAtVertexAMD(float16_t, uint);"
"
f16vec2
interpolateAtVertexAMD(f16vec2, uint);"
"
f16vec3
interpolateAtVertexAMD(f16vec3, uint);"
"
f16vec4
interpolateAtVertexAMD(f16vec4, uint);"
"
\n
"
);
}
...
...
@@ -2402,10 +2402,10 @@ void TBuiltIns::initialize(int version, EProfile profile, const SpvVersion& spvV
"f16vec3 interpolateAtSample(f16vec3, int);"
"f16vec4 interpolateAtSample(f16vec4, int);"
"float16_t interpolateAtOffset(float16_t, vec2);"
"f16vec2 interpolateAtOffset(f16vec2, vec2);"
"f16vec3 interpolateAtOffset(f16vec3, vec2);"
"f16vec4 interpolateAtOffset(f16vec4, vec2);"
"float16_t interpolateAtOffset(float16_t,
f16
vec2);"
"f16vec2 interpolateAtOffset(f16vec2,
f16
vec2);"
"f16vec3 interpolateAtOffset(f16vec3,
f16
vec2);"
"f16vec4 interpolateAtOffset(f16vec4,
f16
vec2);"
"
\n
"
);
}
...
...
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