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
387d337a
Commit
387d337a
authored
Jul 14, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: EXP and EXPP are scalar operations.
parent
7d16eed0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+9
-9
No files found.
dlls/wined3d/arb_program_shader.c
View file @
387d337a
...
...
@@ -1555,8 +1555,6 @@ static void shader_hw_map2gl(const struct wined3d_shader_instruction *ins)
case
WINED3DSIH_DP3
:
instruction
=
"DP3"
;
break
;
case
WINED3DSIH_DP4
:
instruction
=
"DP4"
;
break
;
case
WINED3DSIH_DST
:
instruction
=
"DST"
;
break
;
case
WINED3DSIH_EXP
:
instruction
=
"EX2"
;
break
;
case
WINED3DSIH_EXPP
:
instruction
=
"EXP"
;
break
;
case
WINED3DSIH_FRC
:
instruction
=
"FRC"
;
break
;
case
WINED3DSIH_LIT
:
instruction
=
"LIT"
;
break
;
case
WINED3DSIH_LRP
:
instruction
=
"LRP"
;
break
;
...
...
@@ -2255,7 +2253,7 @@ static void shader_hw_mnxn(const struct wined3d_shader_instruction *ins)
}
}
static
void
shader_hw_
rsq_rc
p
(
const
struct
wined3d_shader_instruction
*
ins
)
static
void
shader_hw_
scalar_o
p
(
const
struct
wined3d_shader_instruction
*
ins
)
{
struct
wined3d_shader_buffer
*
buffer
=
ins
->
ctx
->
buffer
;
const
char
*
instruction
;
...
...
@@ -2265,8 +2263,10 @@ static void shader_hw_rsq_rcp(const struct wined3d_shader_instruction *ins)
switch
(
ins
->
handler_idx
)
{
case
WINED3DSIH_RSQ
:
instruction
=
"RSQ"
;
break
;
case
WINED3DSIH_RCP
:
instruction
=
"RCP"
;
break
;
case
WINED3DSIH_RSQ
:
instruction
=
"RSQ"
;
break
;
case
WINED3DSIH_RCP
:
instruction
=
"RCP"
;
break
;
case
WINED3DSIH_EXP
:
instruction
=
"EX2"
;
break
;
case
WINED3DSIH_EXPP
:
instruction
=
"EXP"
;
break
;
default:
instruction
=
""
;
FIXME
(
"Unhandled opcode %#x
\n
"
,
ins
->
handler_idx
);
break
;
...
...
@@ -4580,8 +4580,8 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
/* WINED3DSIH_ENDIF */
shader_hw_endif
,
/* WINED3DSIH_ENDLOOP */
shader_hw_endloop
,
/* WINED3DSIH_ENDREP */
shader_hw_endrep
,
/* WINED3DSIH_EXP */
shader_hw_
map2gl
,
/* WINED3DSIH_EXPP */
shader_hw_
map2gl
,
/* WINED3DSIH_EXP */
shader_hw_
scalar_op
,
/* WINED3DSIH_EXPP */
shader_hw_
scalar_op
,
/* WINED3DSIH_FRC */
shader_hw_map2gl
,
/* WINED3DSIH_IF */
NULL
/* Hardcoded into the shader */
,
/* WINED3DSIH_IFC */
shader_hw_ifc
,
...
...
@@ -4606,10 +4606,10 @@ static const SHADER_HANDLER shader_arb_instruction_handler_table[WINED3DSIH_TABL
/* WINED3DSIH_NRM */
shader_hw_nrm
,
/* WINED3DSIH_PHASE */
NULL
,
/* WINED3DSIH_POW */
shader_hw_log_pow
,
/* WINED3DSIH_RCP */
shader_hw_
rsq_rc
p
,
/* WINED3DSIH_RCP */
shader_hw_
scalar_o
p
,
/* WINED3DSIH_REP */
shader_hw_rep
,
/* WINED3DSIH_RET */
shader_hw_ret
,
/* WINED3DSIH_RSQ */
shader_hw_
rsq_rc
p
,
/* WINED3DSIH_RSQ */
shader_hw_
scalar_o
p
,
/* WINED3DSIH_SETP */
NULL
,
/* WINED3DSIH_SGE */
shader_hw_map2gl
,
/* WINED3DSIH_SGN */
shader_hw_sgn
,
...
...
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