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
6dc09cd0
Commit
6dc09cd0
authored
Apr 17, 2015
by
John Kessenich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glslang: support negation of doubles.
git-svn-id:
https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30795
e7fa87d3-cd2b-0410-9028-fcbf551c1848
parent
edd18194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
420.tesc
Test/420.tesc
+1
-1
Intermediate.cpp
glslang/MachineIndependent/Intermediate.cpp
+2
-1
No files found.
Test/420.tesc
View file @
6dc09cd0
...
...
@@ -33,7 +33,7 @@ layout (location = 12) in dmat2x4 vs_tcs_last[];
void foo()
{
if ((dmat2x4(dvec4(-0.625, -0.5, -0.375, -0.25), dvec4(-0.375, -0.25, -0.125, 0)) != vs_tcs_first[0]) ||
if ((dmat2x4(dvec4(-0.625, -0.5, -0.375
lf
, -0.25), dvec4(-0.375, -0.25, -0.125, 0)) != vs_tcs_first[0]) ||
(dmat2x4(dvec4(0.375, 0.5, 0.625, 0.75), dvec4(0.625, 0.75, 0.875, -0.625)) != vs_tcs_last[0]))
{
;
...
...
glslang/MachineIndependent/Intermediate.cpp
View file @
6dc09cd0
...
...
@@ -1065,7 +1065,8 @@ bool TIntermUnary::promote()
case
EOpPreDecrement
:
if
(
operand
->
getBasicType
()
!=
EbtInt
&&
operand
->
getBasicType
()
!=
EbtUint
&&
operand
->
getBasicType
()
!=
EbtFloat
)
operand
->
getBasicType
()
!=
EbtFloat
&&
operand
->
getBasicType
()
!=
EbtDouble
)
return
false
;
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