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
ee0431df
Commit
ee0431df
authored
Nov 03, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Use designated initializers in tss_lookup.
parent
6119d1d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
device.c
dlls/d3d8/device.c
+29
-29
No files found.
dlls/d3d8/device.c
View file @
ee0431df
...
@@ -2331,35 +2331,35 @@ static const struct tss_lookup
...
@@ -2331,35 +2331,35 @@ static const struct tss_lookup
}
}
tss_lookup
[]
=
tss_lookup
[]
=
{
{
{
FALSE
,
{
WINED3D_TSS_INVALID
}
},
/* 0, unused */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_INVALID
},
/* 0, unused */
{
FALSE
,
{
WINED3D_TSS_COLOR_OP
}
},
/* 1, D3DTSS_COLOROP */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_COLOR_OP
},
/* 1, D3DTSS_COLOROP */
{
FALSE
,
{
WINED3D_TSS_COLOR_ARG1
}
},
/* 2, D3DTSS_COLORARG1 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_COLOR_ARG1
},
/* 2, D3DTSS_COLORARG1 */
{
FALSE
,
{
WINED3D_TSS_COLOR_ARG2
}
},
/* 3, D3DTSS_COLORARG2 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_COLOR_ARG2
},
/* 3, D3DTSS_COLORARG2 */
{
FALSE
,
{
WINED3D_TSS_ALPHA_OP
}
},
/* 4, D3DTSS_ALPHAOP */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_ALPHA_OP
},
/* 4, D3DTSS_ALPHAOP */
{
FALSE
,
{
WINED3D_TSS_ALPHA_ARG1
}
},
/* 5, D3DTSS_ALPHAARG1 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_ALPHA_ARG1
},
/* 5, D3DTSS_ALPHAARG1 */
{
FALSE
,
{
WINED3D_TSS_ALPHA_ARG2
}
},
/* 6, D3DTSS_ALPHAARG2 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_ALPHA_ARG2
},
/* 6, D3DTSS_ALPHAARG2 */
{
FALSE
,
{
WINED3D_TSS_BUMPENV_MAT00
}
},
/* 7, D3DTSS_BUMPENVMAT00 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_BUMPENV_MAT00
},
/* 7, D3DTSS_BUMPENVMAT00 */
{
FALSE
,
{
WINED3D_TSS_BUMPENV_MAT01
}
},
/* 8, D3DTSS_BUMPENVMAT01 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_BUMPENV_MAT01
},
/* 8, D3DTSS_BUMPENVMAT01 */
{
FALSE
,
{
WINED3D_TSS_BUMPENV_MAT10
}
},
/* 9, D3DTSS_BUMPENVMAT10 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_BUMPENV_MAT10
},
/* 9, D3DTSS_BUMPENVMAT10 */
{
FALSE
,
{
WINED3D_TSS_BUMPENV_MAT11
}
},
/* 10, D3DTSS_BUMPENVMAT11 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_BUMPENV_MAT11
},
/* 10, D3DTSS_BUMPENVMAT11 */
{
FALSE
,
{
WINED3D_TSS_TEXCOORD_INDEX
}
},
/* 11, D3DTSS_TEXCOORDINDEX */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_TEXCOORD_INDEX
},
/* 11, D3DTSS_TEXCOORDINDEX */
{
FALSE
,
{
WINED3D_TSS_INVALID
}
},
/* 12, unused */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_INVALID
},
/* 12, unused */
{
TRUE
,
{
WINED3D_SAMP_ADDRESS_U
}
},
/* 13, D3DTSS_ADDRESSU */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_ADDRESS_U
},
/* 13, D3DTSS_ADDRESSU */
{
TRUE
,
{
WINED3D_SAMP_ADDRESS_V
}
},
/* 14, D3DTSS_ADDRESSV */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_ADDRESS_V
},
/* 14, D3DTSS_ADDRESSV */
{
TRUE
,
{
WINED3D_SAMP_BORDER_COLOR
}
},
/* 15, D3DTSS_BORDERCOLOR */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_BORDER_COLOR
},
/* 15, D3DTSS_BORDERCOLOR */
{
TRUE
,
{
WINED3D_SAMP_MAG_FILTER
}
},
/* 16, D3DTSS_MAGFILTER */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_MAG_FILTER
},
/* 16, D3DTSS_MAGFILTER */
{
TRUE
,
{
WINED3D_SAMP_MIN_FILTER
}
},
/* 17, D3DTSS_MINFILTER */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_MIN_FILTER
},
/* 17, D3DTSS_MINFILTER */
{
TRUE
,
{
WINED3D_SAMP_MIP_FILTER
}
},
/* 18, D3DTSS_MIPFILTER */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_MIP_FILTER
},
/* 18, D3DTSS_MIPFILTER */
{
TRUE
,
{
WINED3D_SAMP_MIPMAP_LOD_BIAS
}
},
/* 19, D3DTSS_MIPMAPLODBIAS */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_MIPMAP_LOD_BIAS
},
/* 19, D3DTSS_MIPMAPLODBIAS */
{
TRUE
,
{
WINED3D_SAMP_MAX_MIP_LEVEL
}
},
/* 20, D3DTSS_MAXMIPLEVEL */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_MAX_MIP_LEVEL
},
/* 20, D3DTSS_MAXMIPLEVEL */
{
TRUE
,
{
WINED3D_SAMP_MAX_ANISOTROPY
}
},
/* 21, D3DTSS_MAXANISOTROPY */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_MAX_ANISOTROPY
},
/* 21, D3DTSS_MAXANISOTROPY */
{
FALSE
,
{
WINED3D_TSS_BUMPENV_LSCALE
}
},
/* 22, D3DTSS_BUMPENVLSCALE */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_BUMPENV_LSCALE
},
/* 22, D3DTSS_BUMPENVLSCALE */
{
FALSE
,
{
WINED3D_TSS_BUMPENV_LOFFSET
}
},
/* 23, D3DTSS_BUMPENVLOFFSET */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_BUMPENV_LOFFSET
},
/* 23, D3DTSS_BUMPENVLOFFSET */
{
FALSE
,
{
WINED3D_TSS_TEXTURE_TRANSFORM_FLAGS
}
},
/* 24, D3DTSS_TEXTURETRANSFORMFLAGS */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_TEXTURE_TRANSFORM_FLAGS
},
/* 24, D3DTSS_TEXTURETRANSFORMFLAGS */
{
TRUE
,
{
WINED3D_SAMP_ADDRESS_W
}
},
/* 25, D3DTSS_ADDRESSW */
{
TRUE
,
.
u
.
sampler_state
=
WINED3D_SAMP_ADDRESS_W
},
/* 25, D3DTSS_ADDRESSW */
{
FALSE
,
{
WINED3D_TSS_COLOR_ARG0
}
},
/* 26, D3DTSS_COLORARG0 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_COLOR_ARG0
},
/* 26, D3DTSS_COLORARG0 */
{
FALSE
,
{
WINED3D_TSS_ALPHA_ARG0
}
},
/* 27, D3DTSS_ALPHAARG0 */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_ALPHA_ARG0
},
/* 27, D3DTSS_ALPHAARG0 */
{
FALSE
,
{
WINED3D_TSS_RESULT_ARG
}
},
/* 28, D3DTSS_RESULTARG */
{
FALSE
,
.
u
.
texture_state
=
WINED3D_TSS_RESULT_ARG
},
/* 28, D3DTSS_RESULTARG */
};
};
static
HRESULT
WINAPI
d3d8_device_GetTextureStageState
(
IDirect3DDevice8
*
iface
,
static
HRESULT
WINAPI
d3d8_device_GetTextureStageState
(
IDirect3DDevice8
*
iface
,
...
...
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