wined3d: Check for unread registers in a more logical way in handle_ps3_input().
~0U always >= (in_count + 2).
This commit is contained in:
parent
e81811b3a0
commit
ce39714228
|
@ -3757,13 +3757,11 @@ static void handle_ps3_input(struct wined3d_shader_buffer *buffer, const struct
|
|||
if (!(input_map & 1)) continue;
|
||||
|
||||
in_idx = map[i];
|
||||
if (in_idx >= (in_count + 2)) {
|
||||
FIXME("More input varyings declared than supported, expect issues\n");
|
||||
continue;
|
||||
}
|
||||
else if (map[i] == ~0U)
|
||||
/* Declared, but not read register */
|
||||
if (in_idx == ~0U) continue;
|
||||
if (in_idx >= (in_count + 2))
|
||||
{
|
||||
/* Declared, but not read register */
|
||||
FIXME("More input varyings declared than supported, expect issues.\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue