wined3d: Fix the SM3 int and bool vs constant limits.

Reported by Eduard Munteanu.
This commit is contained in:
Henri Verbeet 2012-10-08 21:32:41 +02:00 committed by Alexandre Julliard
parent 9d127a4d36
commit eedbdded23
1 changed files with 2 additions and 2 deletions

View File

@ -1796,8 +1796,8 @@ static void vertexshader_set_limits(struct wined3d_shader *shader)
case WINED3D_SHADER_VERSION(3, 0):
shader->limits.temporary = 32;
shader->limits.constant_bool = 32;
shader->limits.constant_int = 32;
shader->limits.constant_bool = 16;
shader->limits.constant_int = 16;
shader->limits.address = 1;
shader->limits.packed_output = 12;
shader->limits.sampler = 4;