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
9f2fa8ba
Commit
9f2fa8ba
authored
Dec 03, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove sampled_format from IWineD3DBaseShaderClass, it isn't used anywhere.
parent
b451048e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
8 deletions
+0
-8
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+0
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+0
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-6
No files found.
dlls/wined3d/arb_program_shader.c
View file @
9f2fa8ba
...
...
@@ -807,7 +807,6 @@ static void shader_arb_color_correction(const SHADER_OPCODE_ARG* arg)
if
(
!
recorded
)
{
shader
->
baseShader
.
sampled_samplers
[
shader
->
baseShader
.
num_sampled_samplers
]
=
sampler_idx
;
shader
->
baseShader
.
num_sampled_samplers
++
;
shader
->
baseShader
.
sampled_format
[
sampler_idx
]
=
conversion_group
;
}
pshader_get_register_name
(
arg
->
shader
,
arg
->
dst
,
reg
);
...
...
dlls/wined3d/glsl_shader.c
View file @
9f2fa8ba
...
...
@@ -1228,7 +1228,6 @@ static void shader_glsl_color_correction(const SHADER_OPCODE_ARG *arg)
if
(
!
recorded
)
{
shader
->
baseShader
.
sampled_samplers
[
shader
->
baseShader
.
num_sampled_samplers
]
=
sampler_idx
;
shader
->
baseShader
.
num_sampled_samplers
++
;
shader
->
baseShader
.
sampled_format
[
sampler_idx
]
=
conversion_group
;
}
switch
(
fmt
)
{
...
...
dlls/wined3d/wined3d_private.h
View file @
9f2fa8ba
...
...
@@ -2132,12 +2132,6 @@ typedef struct IWineD3DBaseShaderClass
struct
list
constantsI
;
shader_reg_maps
reg_maps
;
/* Pixel formats of sampled textures, for format conversion. This
* represents the formats found during compilation, it is not initialized
* on the first parser pass. It is needed to check if the shader
* needs recompilation to adjust the format conversion
*/
WINED3DFORMAT
sampled_format
[
MAX_COMBINED_SAMPLERS
];
UINT
sampled_samplers
[
MAX_COMBINED_SAMPLERS
];
UINT
num_sampled_samplers
;
...
...
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