Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7c47a9d1
Commit
7c47a9d1
authored
Oct 13, 2010
by
Matteo Bruni
Committed by
Alexandre Julliard
Oct 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Accept dot terminated float immediate values.
parent
422d57e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
asmshader.l
dlls/d3dcompiler_43/asmshader.l
+1
-1
asm.c
dlls/d3dcompiler_43/tests/asm.c
+6
-0
No files found.
dlls/d3dcompiler_43/asmshader.l
View file @
7c47a9d1
...
@@ -98,7 +98,7 @@ NEWLINE (\n)|(\r\n)
...
@@ -98,7 +98,7 @@ NEWLINE (\n)|(\r\n)
COMMA ","
COMMA ","
IMMVAL \-?(([0-9]+)|([0-9]*\.[0-9]+))(f)?
IMMVAL \-?(([0-9]+
\.?
)|([0-9]*\.[0-9]+))(f)?
ANY (.)
ANY (.)
...
...
dlls/d3dcompiler_43/tests/asm.c
View file @
7c47a9d1
...
@@ -127,6 +127,12 @@ static void ps_1_1_test(void) {
...
@@ -127,6 +127,12 @@ static void ps_1_1_test(void) {
"mov_d4 r0, r1
\n
"
,
"mov_d4 r0, r1
\n
"
,
{
0xffff0101
,
0x00000001
,
0x8e0f0000
,
0x80e40001
,
0x0000ffff
}
{
0xffff0101
,
0x00000001
,
0x8e0f0000
,
0x80e40001
,
0x0000ffff
}
},
},
{
/* shader 2 */
"ps.1.1
\n
"
"def c2, 0, 0., 0, 0.
\n
"
,
{
0xffff0101
,
0x00000051
,
0xa00f0002
,
0x00000000
,
0x00000000
,
0x00000000
,
0x00000000
,
0x0000ffff
}
},
};
};
exec_tests
(
"ps_1_1"
,
tests
,
sizeof
(
tests
)
/
sizeof
(
tests
[
0
]));
exec_tests
(
"ps_1_1"
,
tests
,
sizeof
(
tests
)
/
sizeof
(
tests
[
0
]));
...
...
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