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
7bea5460
Commit
7bea5460
authored
Dec 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable long types in shader_sm1.c.
parent
de990db0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
shader_sm1.c
dlls/wined3d/shader_sm1.c
+3
-4
No files found.
dlls/wined3d/shader_sm1.c
View file @
7bea5460
...
...
@@ -21,7 +21,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WINE_NO_LONG_TYPES
/* temporary */
#include "wined3d_private.h"
...
...
@@ -537,13 +536,13 @@ static void *shader_sm1_init(const DWORD *byte_code, size_t byte_code_size,
struct
wined3d_sm1_data
*
priv
;
BYTE
major
,
minor
;
TRACE
(
"Version: 0x%08x.
\n
"
,
*
byte_code
);
TRACE
(
"Version: 0x%08
l
x.
\n
"
,
*
byte_code
);
major
=
WINED3D_SM1_VERSION_MAJOR
(
*
byte_code
);
minor
=
WINED3D_SM1_VERSION_MINOR
(
*
byte_code
);
if
(
WINED3D_SHADER_VERSION
(
major
,
minor
)
>
WINED3D_SHADER_VERSION
(
3
,
0
))
{
WARN
(
"Invalid shader version %u.%u (%#x).
\n
"
,
major
,
minor
,
*
byte_code
);
WARN
(
"Invalid shader version %u.%u (%#
l
x).
\n
"
,
major
,
minor
,
*
byte_code
);
return
NULL
;
}
...
...
@@ -566,7 +565,7 @@ static void *shader_sm1_init(const DWORD *byte_code, size_t byte_code_size,
break
;
default:
FIXME
(
"Unrecognized shader type %#x.
\n
"
,
*
byte_code
>>
16
);
FIXME
(
"Unrecognized shader type %#
l
x.
\n
"
,
*
byte_code
>>
16
);
heap_free
(
priv
);
return
NULL
;
}
...
...
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