Commit 604ec98d authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Increase shader resource limit to MAX_SHADER_RESOURCE_VIEWS.

parent 6b80fe50
......@@ -833,7 +833,7 @@ struct wined3d_shader_reg_maps
WORD local_bool_consts; /* WINED3D_MAX_CONSTS_B, 16 */
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_SHADER_RESOURCE_VIEWS];
struct wined3d_shader_sampler_map sampler_map;
DWORD sampler_comparison_mode;
BYTE bumpmat; /* MAX_TEXTURES, 8 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment