Commit 9cfb9596 authored by Aida Jonikienė's avatar Aida Jonikienė Committed by Alexandre Julliard

wined3d: Add extra debug info to shader_set_limits().

This should help understand some virgl/ChromeOS-specific WineD3D behavior better.
parent 62a97934
...@@ -638,9 +638,10 @@ static void shader_set_limits(struct wined3d_shader *shader) ...@@ -638,9 +638,10 @@ static void shader_set_limits(struct wined3d_shader *shader)
} }
if (!shader->limits) if (!shader->limits)
{ {
FIXME("Unexpected shader version \"%u.%u\".\n", FIXME("Unexpected shader version \"%u.%u\" (shader type %u).\n",
shader->reg_maps.shader_version.major, shader->reg_maps.shader_version.major,
shader->reg_maps.shader_version.minor); shader->reg_maps.shader_version.minor,
shader->reg_maps.shader_version.type);
shader->limits = &limits_array[max(0, i - 1)].limits; shader->limits = &limits_array[max(0, i - 1)].limits;
} }
} }
......
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