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
076697e3
Commit
076697e3
authored
May 17, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
May 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename MAX_CONST_B to WINED3D_MAX_CONSTS_B.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
228c0608
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
26 deletions
+26
-26
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-2
device.c
dlls/wined3d/device.c
+8
-8
glsl_shader.c
dlls/wined3d/glsl_shader.c
+5
-5
stateblock.c
dlls/wined3d/stateblock.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+9
-9
No files found.
dlls/wined3d/arb_program_shader.c
View file @
076697e3
...
@@ -4563,7 +4563,7 @@ static void find_arb_ps_compile_args(const struct wined3d_state *state,
...
@@ -4563,7 +4563,7 @@ static void find_arb_ps_compile_args(const struct wined3d_state *state,
/* This forces all local boolean constants to 1 to make them stateblock independent */
/* This forces all local boolean constants to 1 to make them stateblock independent */
args
->
bools
=
shader
->
reg_maps
.
local_bool_consts
;
args
->
bools
=
shader
->
reg_maps
.
local_bool_consts
;
for
(
i
=
0
;
i
<
MAX_CONST_B
;
i
++
)
for
(
i
=
0
;
i
<
WINED3D_MAX_CONSTS_B
;
++
i
)
{
{
if
(
state
->
ps_consts_b
[
i
])
if
(
state
->
ps_consts_b
[
i
])
args
->
bools
|=
(
1u
<<
i
);
args
->
bools
|=
(
1u
<<
i
);
...
@@ -4645,7 +4645,7 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
...
@@ -4645,7 +4645,7 @@ static void find_arb_vs_compile_args(const struct wined3d_state *state,
/* This forces all local boolean constants to 1 to make them stateblock independent */
/* This forces all local boolean constants to 1 to make them stateblock independent */
args
->
clip
.
boolclip
.
bools
=
shader
->
reg_maps
.
local_bool_consts
;
args
->
clip
.
boolclip
.
bools
=
shader
->
reg_maps
.
local_bool_consts
;
/* TODO: Figure out if it would be better to store bool constants as bitmasks in the stateblock */
/* TODO: Figure out if it would be better to store bool constants as bitmasks in the stateblock */
for
(
i
=
0
;
i
<
MAX_CONST_B
;
i
++
)
for
(
i
=
0
;
i
<
WINED3D_MAX_CONSTS_B
;
++
i
)
{
{
if
(
state
->
vs_consts_b
[
i
])
if
(
state
->
vs_consts_b
[
i
])
args
->
clip
.
boolclip
.
bools
|=
(
1u
<<
i
);
args
->
clip
.
boolclip
.
bools
|=
(
1u
<<
i
);
...
...
dlls/wined3d/device.c
View file @
076697e3
...
@@ -2376,13 +2376,13 @@ static void device_invalidate_shader_constants(const struct wined3d_device *devi
...
@@ -2376,13 +2376,13 @@ static void device_invalidate_shader_constants(const struct wined3d_device *devi
HRESULT
CDECL
wined3d_device_set_vs_consts_b
(
struct
wined3d_device
*
device
,
HRESULT
CDECL
wined3d_device_set_vs_consts_b
(
struct
wined3d_device
*
device
,
UINT
start_register
,
const
BOOL
*
constants
,
UINT
bool_count
)
UINT
start_register
,
const
BOOL
*
constants
,
UINT
bool_count
)
{
{
UINT
count
=
min
(
bool_count
,
MAX_CONST
_B
-
start_register
);
UINT
count
=
min
(
bool_count
,
WINED3D_MAX_CONSTS
_B
-
start_register
);
UINT
i
;
UINT
i
;
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
device
,
start_register
,
constants
,
bool_count
);
device
,
start_register
,
constants
,
bool_count
);
if
(
!
constants
||
start_register
>=
MAX_CONST
_B
)
if
(
!
constants
||
start_register
>=
WINED3D_MAX_CONSTS
_B
)
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
memcpy
(
&
device
->
update_state
->
vs_consts_b
[
start_register
],
constants
,
count
*
sizeof
(
BOOL
));
memcpy
(
&
device
->
update_state
->
vs_consts_b
[
start_register
],
constants
,
count
*
sizeof
(
BOOL
));
...
@@ -2405,12 +2405,12 @@ HRESULT CDECL wined3d_device_set_vs_consts_b(struct wined3d_device *device,
...
@@ -2405,12 +2405,12 @@ HRESULT CDECL wined3d_device_set_vs_consts_b(struct wined3d_device *device,
HRESULT
CDECL
wined3d_device_get_vs_consts_b
(
const
struct
wined3d_device
*
device
,
HRESULT
CDECL
wined3d_device_get_vs_consts_b
(
const
struct
wined3d_device
*
device
,
UINT
start_register
,
BOOL
*
constants
,
UINT
bool_count
)
UINT
start_register
,
BOOL
*
constants
,
UINT
bool_count
)
{
{
UINT
count
=
min
(
bool_count
,
MAX_CONST
_B
-
start_register
);
UINT
count
=
min
(
bool_count
,
WINED3D_MAX_CONSTS
_B
-
start_register
);
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
device
,
start_register
,
constants
,
bool_count
);
device
,
start_register
,
constants
,
bool_count
);
if
(
!
constants
||
start_register
>=
MAX_CONST
_B
)
if
(
!
constants
||
start_register
>=
WINED3D_MAX_CONSTS
_B
)
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
memcpy
(
constants
,
&
device
->
state
.
vs_consts_b
[
start_register
],
count
*
sizeof
(
BOOL
));
memcpy
(
constants
,
&
device
->
state
.
vs_consts_b
[
start_register
],
count
*
sizeof
(
BOOL
));
...
@@ -2605,13 +2605,13 @@ struct wined3d_sampler * CDECL wined3d_device_get_ps_sampler(const struct wined3
...
@@ -2605,13 +2605,13 @@ struct wined3d_sampler * CDECL wined3d_device_get_ps_sampler(const struct wined3
HRESULT
CDECL
wined3d_device_set_ps_consts_b
(
struct
wined3d_device
*
device
,
HRESULT
CDECL
wined3d_device_set_ps_consts_b
(
struct
wined3d_device
*
device
,
UINT
start_register
,
const
BOOL
*
constants
,
UINT
bool_count
)
UINT
start_register
,
const
BOOL
*
constants
,
UINT
bool_count
)
{
{
UINT
count
=
min
(
bool_count
,
MAX_CONST
_B
-
start_register
);
UINT
count
=
min
(
bool_count
,
WINED3D_MAX_CONSTS
_B
-
start_register
);
UINT
i
;
UINT
i
;
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
device
,
start_register
,
constants
,
bool_count
);
device
,
start_register
,
constants
,
bool_count
);
if
(
!
constants
||
start_register
>=
MAX_CONST
_B
)
if
(
!
constants
||
start_register
>=
WINED3D_MAX_CONSTS
_B
)
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
memcpy
(
&
device
->
update_state
->
ps_consts_b
[
start_register
],
constants
,
count
*
sizeof
(
BOOL
));
memcpy
(
&
device
->
update_state
->
ps_consts_b
[
start_register
],
constants
,
count
*
sizeof
(
BOOL
));
...
@@ -2634,12 +2634,12 @@ HRESULT CDECL wined3d_device_set_ps_consts_b(struct wined3d_device *device,
...
@@ -2634,12 +2634,12 @@ HRESULT CDECL wined3d_device_set_ps_consts_b(struct wined3d_device *device,
HRESULT
CDECL
wined3d_device_get_ps_consts_b
(
const
struct
wined3d_device
*
device
,
HRESULT
CDECL
wined3d_device_get_ps_consts_b
(
const
struct
wined3d_device
*
device
,
UINT
start_register
,
BOOL
*
constants
,
UINT
bool_count
)
UINT
start_register
,
BOOL
*
constants
,
UINT
bool_count
)
{
{
UINT
count
=
min
(
bool_count
,
MAX_CONST
_B
-
start_register
);
UINT
count
=
min
(
bool_count
,
WINED3D_MAX_CONSTS
_B
-
start_register
);
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
TRACE
(
"device %p, start_register %u, constants %p, bool_count %u.
\n
"
,
device
,
start_register
,
constants
,
bool_count
);
device
,
start_register
,
constants
,
bool_count
);
if
(
!
constants
||
start_register
>=
MAX_CONST
_B
)
if
(
!
constants
||
start_register
>=
WINED3D_MAX_CONSTS
_B
)
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
memcpy
(
constants
,
&
device
->
state
.
ps_consts_b
[
start_register
],
count
*
sizeof
(
BOOL
));
memcpy
(
constants
,
&
device
->
state
.
ps_consts_b
[
start_register
],
count
*
sizeof
(
BOOL
));
...
...
dlls/wined3d/glsl_shader.c
View file @
076697e3
...
@@ -119,7 +119,7 @@ struct glsl_vs_program
...
@@ -119,7 +119,7 @@ struct glsl_vs_program
GLenum
vertex_color_clamp
;
GLenum
vertex_color_clamp
;
GLint
uniform_f_locations
[
WINED3D_MAX_VS_CONSTS_F
];
GLint
uniform_f_locations
[
WINED3D_MAX_VS_CONSTS_F
];
GLint
uniform_i_locations
[
WINED3D_MAX_CONSTS_I
];
GLint
uniform_i_locations
[
WINED3D_MAX_CONSTS_I
];
GLint
uniform_b_locations
[
MAX_CONST
_B
];
GLint
uniform_b_locations
[
WINED3D_MAX_CONSTS
_B
];
GLint
pos_fixup_location
;
GLint
pos_fixup_location
;
GLint
modelview_matrix_location
[
MAX_VERTEX_BLENDS
];
GLint
modelview_matrix_location
[
MAX_VERTEX_BLENDS
];
...
@@ -167,7 +167,7 @@ struct glsl_ps_program
...
@@ -167,7 +167,7 @@ struct glsl_ps_program
GLuint
id
;
GLuint
id
;
GLint
uniform_f_locations
[
WINED3D_MAX_PS_CONSTS_F
];
GLint
uniform_f_locations
[
WINED3D_MAX_PS_CONSTS_F
];
GLint
uniform_i_locations
[
WINED3D_MAX_CONSTS_I
];
GLint
uniform_i_locations
[
WINED3D_MAX_CONSTS_I
];
GLint
uniform_b_locations
[
MAX_CONST
_B
];
GLint
uniform_b_locations
[
WINED3D_MAX_CONSTS
_B
];
GLint
bumpenv_mat_location
[
MAX_TEXTURES
];
GLint
bumpenv_mat_location
[
MAX_TEXTURES
];
GLint
bumpenv_lum_scale_location
[
MAX_TEXTURES
];
GLint
bumpenv_lum_scale_location
[
MAX_TEXTURES
];
GLint
bumpenv_lum_offset_location
[
MAX_TEXTURES
];
GLint
bumpenv_lum_offset_location
[
MAX_TEXTURES
];
...
@@ -759,7 +759,7 @@ static void shader_glsl_load_constants_i(const struct wined3d_shader *shader, co
...
@@ -759,7 +759,7 @@ static void shader_glsl_load_constants_i(const struct wined3d_shader *shader, co
/* Context activation is done by the caller. */
/* Context activation is done by the caller. */
static
void
shader_glsl_load_constantsB
(
const
struct
wined3d_shader
*
shader
,
const
struct
wined3d_gl_info
*
gl_info
,
static
void
shader_glsl_load_constantsB
(
const
struct
wined3d_shader
*
shader
,
const
struct
wined3d_gl_info
*
gl_info
,
const
GLint
locations
[
MAX_CONST
_B
],
const
BOOL
*
constants
,
WORD
constants_set
)
const
GLint
locations
[
WINED3D_MAX_CONSTS
_B
],
const
BOOL
*
constants
,
WORD
constants_set
)
{
{
unsigned
int
i
;
unsigned
int
i
;
struct
list
*
ptr
;
struct
list
*
ptr
;
...
@@ -7026,7 +7026,7 @@ static void shader_glsl_init_vs_uniform_locations(const struct wined3d_gl_info *
...
@@ -7026,7 +7026,7 @@ static void shader_glsl_init_vs_uniform_locations(const struct wined3d_gl_info *
vs
->
uniform_i_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
vs
->
uniform_i_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
}
}
for
(
i
=
0
;
i
<
MAX_CONST
_B
;
++
i
)
for
(
i
=
0
;
i
<
WINED3D_MAX_CONSTS
_B
;
++
i
)
{
{
string_buffer_sprintf
(
name
,
"vs_b[%u]"
,
i
);
string_buffer_sprintf
(
name
,
"vs_b[%u]"
,
i
);
vs
->
uniform_b_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
vs
->
uniform_b_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
...
@@ -7108,7 +7108,7 @@ static void shader_glsl_init_ps_uniform_locations(const struct wined3d_gl_info *
...
@@ -7108,7 +7108,7 @@ static void shader_glsl_init_ps_uniform_locations(const struct wined3d_gl_info *
ps
->
uniform_i_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
ps
->
uniform_i_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
}
}
for
(
i
=
0
;
i
<
MAX_CONST
_B
;
++
i
)
for
(
i
=
0
;
i
<
WINED3D_MAX_CONSTS
_B
;
++
i
)
{
{
string_buffer_sprintf
(
name
,
"ps_b[%u]"
,
i
);
string_buffer_sprintf
(
name
,
"ps_b[%u]"
,
i
);
ps
->
uniform_b_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
ps
->
uniform_b_locations
[
i
]
=
GL_EXTCALL
(
glGetUniformLocation
(
program_id
,
name
->
buffer
));
...
...
dlls/wined3d/stateblock.c
View file @
076697e3
...
@@ -330,7 +330,7 @@ void stateblock_init_contained_states(struct wined3d_stateblock *stateblock)
...
@@ -330,7 +330,7 @@ void stateblock_init_contained_states(struct wined3d_stateblock *stateblock)
}
}
}
}
for
(
i
=
0
;
i
<
MAX_CONST
_B
;
++
i
)
for
(
i
=
0
;
i
<
WINED3D_MAX_CONSTS
_B
;
++
i
)
{
{
if
(
stateblock
->
changed
.
vertexShaderConstantsB
&
(
1u
<<
i
))
if
(
stateblock
->
changed
.
vertexShaderConstantsB
&
(
1u
<<
i
))
{
{
...
@@ -357,7 +357,7 @@ void stateblock_init_contained_states(struct wined3d_stateblock *stateblock)
...
@@ -357,7 +357,7 @@ void stateblock_init_contained_states(struct wined3d_stateblock *stateblock)
}
}
}
}
for
(
i
=
0
;
i
<
MAX_CONST
_B
;
++
i
)
for
(
i
=
0
;
i
<
WINED3D_MAX_CONSTS
_B
;
++
i
)
{
{
if
(
stateblock
->
changed
.
pixelShaderConstantsB
&
(
1u
<<
i
))
if
(
stateblock
->
changed
.
pixelShaderConstantsB
&
(
1u
<<
i
))
{
{
...
...
dlls/wined3d/wined3d_private.h
View file @
076697e3
...
@@ -510,8 +510,8 @@ enum wined3d_shader_rel_op
...
@@ -510,8 +510,8 @@ enum wined3d_shader_rel_op
#define MAX_REG_TEXCRD 8
#define MAX_REG_TEXCRD 8
#define MAX_REG_INPUT 32
#define MAX_REG_INPUT 32
#define MAX_REG_OUTPUT 32
#define MAX_REG_OUTPUT 32
#define MAX_CONST_B 16
#define WINED3D_MAX_CBS 15
#define WINED3D_MAX_CBS 15
#define WINED3D_MAX_CONSTS_B 16
#define WINED3D_MAX_CONSTS_I 16
#define WINED3D_MAX_CONSTS_I 16
#define WINED3D_MAX_VS_CONSTS_F 256
#define WINED3D_MAX_VS_CONSTS_F 256
#define WINED3D_MAX_PS_CONSTS_F 224
#define WINED3D_MAX_PS_CONSTS_F 224
...
@@ -763,9 +763,9 @@ struct wined3d_shader_reg_maps
...
@@ -763,9 +763,9 @@ struct wined3d_shader_reg_maps
DWORD
input_registers
;
/* max(MAX_REG_INPUT, MAX_ATTRIBS), 32 */
DWORD
input_registers
;
/* max(MAX_REG_INPUT, MAX_ATTRIBS), 32 */
DWORD
output_registers
;
/* MAX_REG_OUTPUT, 32 */
DWORD
output_registers
;
/* MAX_REG_OUTPUT, 32 */
WORD
integer_constants
;
/* WINED3D_MAX_CONSTS_I, 16 */
WORD
integer_constants
;
/* WINED3D_MAX_CONSTS_I, 16 */
WORD
boolean_constants
;
/*
MAX_CONST
_B, 16 */
WORD
boolean_constants
;
/*
WINED3D_MAX_CONSTS
_B, 16 */
WORD
local_int_consts
;
/* WINED3D_MAX_CONSTS_I, 16 */
WORD
local_int_consts
;
/* WINED3D_MAX_CONSTS_I, 16 */
WORD
local_bool_consts
;
/*
MAX_CONST
_B, 16 */
WORD
local_bool_consts
;
/*
WINED3D_MAX_CONSTS
_B, 16 */
UINT
cb_sizes
[
WINED3D_MAX_CBS
];
UINT
cb_sizes
[
WINED3D_MAX_CBS
];
struct
wined3d_shader_resource_info
resource_info
[
max
(
MAX_FRAGMENT_SAMPLERS
,
MAX_VERTEX_SAMPLERS
)];
struct
wined3d_shader_resource_info
resource_info
[
max
(
MAX_FRAGMENT_SAMPLERS
,
MAX_VERTEX_SAMPLERS
)];
...
@@ -2212,11 +2212,11 @@ struct wined3d_state
...
@@ -2212,11 +2212,11 @@ struct wined3d_state
struct
wined3d_sampler
*
sampler
[
WINED3D_SHADER_TYPE_COUNT
][
MAX_SAMPLER_OBJECTS
];
struct
wined3d_sampler
*
sampler
[
WINED3D_SHADER_TYPE_COUNT
][
MAX_SAMPLER_OBJECTS
];
struct
wined3d_shader_resource_view
*
shader_resource_view
[
WINED3D_SHADER_TYPE_COUNT
][
MAX_SHADER_RESOURCE_VIEWS
];
struct
wined3d_shader_resource_view
*
shader_resource_view
[
WINED3D_SHADER_TYPE_COUNT
][
MAX_SHADER_RESOURCE_VIEWS
];
BOOL
vs_consts_b
[
MAX_CONST
_B
];
BOOL
vs_consts_b
[
WINED3D_MAX_CONSTS
_B
];
struct
wined3d_ivec4
vs_consts_i
[
WINED3D_MAX_CONSTS_I
];
struct
wined3d_ivec4
vs_consts_i
[
WINED3D_MAX_CONSTS_I
];
struct
wined3d_vec4
vs_consts_f
[
WINED3D_MAX_VS_CONSTS_F
];
struct
wined3d_vec4
vs_consts_f
[
WINED3D_MAX_VS_CONSTS_F
];
BOOL
ps_consts_b
[
MAX_CONST
_B
];
BOOL
ps_consts_b
[
WINED3D_MAX_CONSTS
_B
];
struct
wined3d_ivec4
ps_consts_i
[
WINED3D_MAX_CONSTS_I
];
struct
wined3d_ivec4
ps_consts_i
[
WINED3D_MAX_CONSTS_I
];
struct
wined3d_vec4
ps_consts_f
[
WINED3D_MAX_PS_CONSTS_F
];
struct
wined3d_vec4
ps_consts_f
[
WINED3D_MAX_PS_CONSTS_F
];
...
@@ -2774,10 +2774,10 @@ struct wined3d_saved_states
...
@@ -2774,10 +2774,10 @@ struct wined3d_saved_states
DWORD
textureState
[
MAX_TEXTURES
];
/* WINED3D_HIGHEST_TEXTURE_STATE + 1, 18 */
DWORD
textureState
[
MAX_TEXTURES
];
/* WINED3D_HIGHEST_TEXTURE_STATE + 1, 18 */
WORD
samplerState
[
MAX_COMBINED_SAMPLERS
];
/* WINED3D_HIGHEST_SAMPLER_STATE + 1, 14 */
WORD
samplerState
[
MAX_COMBINED_SAMPLERS
];
/* WINED3D_HIGHEST_SAMPLER_STATE + 1, 14 */
DWORD
clipplane
;
/* WINED3DMAXUSERCLIPPLANES, 32 */
DWORD
clipplane
;
/* WINED3DMAXUSERCLIPPLANES, 32 */
WORD
pixelShaderConstantsB
;
/*
MAX_CONST
_B, 16 */
WORD
pixelShaderConstantsB
;
/*
WINED3D_MAX_CONSTS
_B, 16 */
WORD
pixelShaderConstantsI
;
/* WINED3D_MAX_CONSTS_I, 16 */
WORD
pixelShaderConstantsI
;
/* WINED3D_MAX_CONSTS_I, 16 */
BOOL
ps_consts_f
[
WINED3D_MAX_PS_CONSTS_F
];
BOOL
ps_consts_f
[
WINED3D_MAX_PS_CONSTS_F
];
WORD
vertexShaderConstantsB
;
/*
MAX_CONST
_B, 16 */
WORD
vertexShaderConstantsB
;
/*
WINED3D_MAX_CONSTS
_B, 16 */
WORD
vertexShaderConstantsI
;
/* WINED3D_MAX_CONSTS_I, 16 */
WORD
vertexShaderConstantsI
;
/* WINED3D_MAX_CONSTS_I, 16 */
BOOL
vs_consts_f
[
WINED3D_MAX_VS_CONSTS_F
];
BOOL
vs_consts_f
[
WINED3D_MAX_VS_CONSTS_F
];
DWORD
textures
:
20
;
/* MAX_COMBINED_SAMPLERS, 20 */
DWORD
textures
:
20
;
/* MAX_COMBINED_SAMPLERS, 20 */
...
@@ -2813,13 +2813,13 @@ struct wined3d_stateblock
...
@@ -2813,13 +2813,13 @@ struct wined3d_stateblock
unsigned
int
num_contained_transform_states
;
unsigned
int
num_contained_transform_states
;
DWORD
contained_vs_consts_i
[
WINED3D_MAX_CONSTS_I
];
DWORD
contained_vs_consts_i
[
WINED3D_MAX_CONSTS_I
];
unsigned
int
num_contained_vs_consts_i
;
unsigned
int
num_contained_vs_consts_i
;
DWORD
contained_vs_consts_b
[
MAX_CONST
_B
];
DWORD
contained_vs_consts_b
[
WINED3D_MAX_CONSTS
_B
];
unsigned
int
num_contained_vs_consts_b
;
unsigned
int
num_contained_vs_consts_b
;
DWORD
contained_vs_consts_f
[
WINED3D_MAX_VS_CONSTS_F
];
DWORD
contained_vs_consts_f
[
WINED3D_MAX_VS_CONSTS_F
];
unsigned
int
num_contained_vs_consts_f
;
unsigned
int
num_contained_vs_consts_f
;
DWORD
contained_ps_consts_i
[
WINED3D_MAX_CONSTS_I
];
DWORD
contained_ps_consts_i
[
WINED3D_MAX_CONSTS_I
];
unsigned
int
num_contained_ps_consts_i
;
unsigned
int
num_contained_ps_consts_i
;
DWORD
contained_ps_consts_b
[
MAX_CONST
_B
];
DWORD
contained_ps_consts_b
[
WINED3D_MAX_CONSTS
_B
];
unsigned
int
num_contained_ps_consts_b
;
unsigned
int
num_contained_ps_consts_b
;
DWORD
contained_ps_consts_f
[
WINED3D_MAX_PS_CONSTS_F
];
DWORD
contained_ps_consts_f
[
WINED3D_MAX_PS_CONSTS_F
];
unsigned
int
num_contained_ps_consts_f
;
unsigned
int
num_contained_ps_consts_f
;
...
...
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