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
e2bc8dfe
Commit
e2bc8dfe
authored
Sep 22, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use shader_glsl_log() in some more places.
parent
ca289301
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
glsl_shader.c
dlls/wined3d/glsl_shader.c
+0
-2
pixelshader.c
dlls/wined3d/pixelshader.c
+1
-1
vertexshader.c
dlls/wined3d/vertexshader.c
+2
-2
No files found.
dlls/wined3d/glsl_shader.c
View file @
e2bc8dfe
...
...
@@ -1592,8 +1592,6 @@ void shader_glsl_map2gl(SHADER_OPCODE_ARG* arg) {
case
WINED3DSIO_ABS
:
instruction
=
"abs"
;
break
;
case
WINED3DSIO_FRC
:
instruction
=
"fract"
;
break
;
case
WINED3DSIO_NRM
:
instruction
=
"normalize"
;
break
;
case
WINED3DSIO_LOGP
:
case
WINED3DSIO_LOG
:
instruction
=
"log2"
;
break
;
case
WINED3DSIO_EXP
:
instruction
=
"exp2"
;
break
;
case
WINED3DSIO_SGN
:
instruction
=
"sign"
;
break
;
case
WINED3DSIO_DSX
:
instruction
=
"dFdx"
;
break
;
...
...
dlls/wined3d/pixelshader.c
View file @
e2bc8dfe
...
...
@@ -117,7 +117,7 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = {
{
WINED3DSIO_EXP
,
"exp"
,
"EX2"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_map2gl
,
0
,
0
},
{
WINED3DSIO_LOG
,
"log"
,
"LG2"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_log
,
0
,
0
},
{
WINED3DSIO_EXPP
,
"expp"
,
"EXP"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_expp
,
0
,
0
},
{
WINED3DSIO_LOGP
,
"logp"
,
"LOG"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_
map2gl
,
0
,
0
},
{
WINED3DSIO_LOGP
,
"logp"
,
"LOG"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_
log
,
0
,
0
},
{
WINED3DSIO_DST
,
"dst"
,
"DST"
,
1
,
3
,
shader_hw_map2gl
,
shader_glsl_dst
,
0
,
0
},
{
WINED3DSIO_LRP
,
"lrp"
,
"LRP"
,
1
,
4
,
shader_hw_map2gl
,
shader_glsl_lrp
,
0
,
0
},
{
WINED3DSIO_FRC
,
"frc"
,
"FRC"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_map2gl
,
0
,
0
},
...
...
dlls/wined3d/vertexshader.c
View file @
e2bc8dfe
...
...
@@ -60,9 +60,9 @@ CONST SHADER_OPCODE IWineD3DVertexShaderImpl_shader_ins[] = {
{
WINED3DSIO_SGE
,
"sge"
,
"SGE"
,
1
,
3
,
shader_hw_map2gl
,
shader_glsl_compare
,
0
,
0
},
{
WINED3DSIO_ABS
,
"abs"
,
"ABS"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_map2gl
,
0
,
0
},
{
WINED3DSIO_EXP
,
"exp"
,
"EX2"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_map2gl
,
0
,
0
},
{
WINED3DSIO_LOG
,
"log"
,
"LG2"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_
map2gl
,
0
,
0
},
{
WINED3DSIO_LOG
,
"log"
,
"LG2"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_
log
,
0
,
0
},
{
WINED3DSIO_EXPP
,
"expp"
,
"EXP"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_expp
,
0
,
0
},
{
WINED3DSIO_LOGP
,
"logp"
,
"LOG"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_
map2gl
,
0
,
0
},
{
WINED3DSIO_LOGP
,
"logp"
,
"LOG"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_
log
,
0
,
0
},
{
WINED3DSIO_LIT
,
"lit"
,
"LIT"
,
1
,
2
,
shader_hw_map2gl
,
shader_glsl_lit
,
0
,
0
},
{
WINED3DSIO_DST
,
"dst"
,
"DST"
,
1
,
3
,
shader_hw_map2gl
,
shader_glsl_dst
,
0
,
0
},
{
WINED3DSIO_LRP
,
"lrp"
,
"LRP"
,
1
,
4
,
NULL
,
shader_glsl_lrp
,
0
,
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