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
bd14b6e2
Commit
bd14b6e2
authored
Jun 25, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: IFC requires GL_NV_fragment_program2.
parent
d4854b63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+1
-1
baseshader.c
dlls/wined3d/baseshader.c
+4
-0
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-1
No files found.
dlls/wined3d/arb_program_shader.c
View file @
bd14b6e2
...
...
@@ -2989,7 +2989,7 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This,
* So enable the best we can get.
*/
if
(
reg_maps
->
usesdsx
||
reg_maps
->
usesdsy
||
reg_maps
->
loop_depth
>
0
||
reg_maps
->
usestexldd
||
reg_maps
->
usestexldl
||
reg_maps
->
usesfacing
)
reg_maps
->
usestexldl
||
reg_maps
->
usesfacing
||
reg_maps
->
usesifc
)
{
want_nv_prog
=
TRUE
;
}
...
...
dlls/wined3d/baseshader.c
View file @
bd14b6e2
...
...
@@ -705,6 +705,10 @@ HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct wined3
{
reg_maps
->
usesmova
=
1
;
}
else
if
(
ins
.
handler_idx
==
WINED3DSIH_IFC
)
{
reg_maps
->
usesifc
=
1
;
}
limit
=
ins
.
src_count
+
(
ins
.
predicate
?
1
:
0
);
for
(
i
=
0
;
i
<
limit
;
++
i
)
...
...
dlls/wined3d/wined3d_private.h
View file @
bd14b6e2
...
...
@@ -640,7 +640,8 @@ typedef struct shader_reg_maps
unsigned
usesrelconstF
:
1
;
unsigned
fog
:
1
;
unsigned
usestexldl
:
1
;
unsigned
padding
:
6
;
unsigned
usesifc
:
1
;
unsigned
padding
:
5
;
/* Whether or not loops are used in this shader, and nesting depth */
unsigned
loop_depth
;
...
...
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