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
f8e1550e
Commit
f8e1550e
authored
Oct 10, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implement WINED3DSIH_LT in the GLSL shader backend.
parent
842f75ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+3
-1
No files found.
dlls/wined3d/glsl_shader.c
View file @
f8e1550e
...
...
@@ -2239,6 +2239,7 @@ static void shader_glsl_relop(const struct wined3d_shader_instruction *ins)
case
WINED3DSIH_EQ
:
op
=
"equal"
;
break
;
case
WINED3DSIH_GE
:
op
=
"greaterThanEqual"
;
break
;
case
WINED3DSIH_IGE
:
op
=
"greaterThanEqual"
;
break
;
case
WINED3DSIH_LT
:
op
=
"lessThan"
;
break
;
default:
op
=
"<unhandled operator>"
;
ERR
(
"Unhandled opcode %#x.
\n
"
,
ins
->
handler_idx
);
...
...
@@ -2255,6 +2256,7 @@ static void shader_glsl_relop(const struct wined3d_shader_instruction *ins)
case
WINED3DSIH_EQ
:
op
=
"=="
;
break
;
case
WINED3DSIH_GE
:
op
=
">="
;
break
;
case
WINED3DSIH_IGE
:
op
=
">="
;
break
;
case
WINED3DSIH_LT
:
op
=
"<"
;
break
;
default:
op
=
"<unhandled operator>"
;
ERR
(
"Unhandled opcode %#x.
\n
"
,
ins
->
handler_idx
);
...
...
@@ -5291,7 +5293,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
/* WINED3DSIH_LOGP */
shader_glsl_log
,
/* WINED3DSIH_LOOP */
shader_glsl_loop
,
/* WINED3DSIH_LRP */
shader_glsl_lrp
,
/* WINED3DSIH_LT */
NULL
,
/* WINED3DSIH_LT */
shader_glsl_relop
,
/* WINED3DSIH_M3x2 */
shader_glsl_mnxn
,
/* WINED3DSIH_M3x3 */
shader_glsl_mnxn
,
/* WINED3DSIH_M3x4 */
shader_glsl_mnxn
,
...
...
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