zink: remove stale TODO
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 2 Feb 2021 10:35:29 +0000 (11:35 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Feb 2021 16:00:37 +0000 (16:00 +0000)
By now, I think we're fairly sure about this one ;)

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8832>

src/gallium/drivers/zink/zink_state.c

index 810d971..514d791 100644 (file)
@@ -65,7 +65,7 @@ zink_create_vertex_elements_state(struct pipe_context *pctx,
       assert(elem->instance_divisor <= screen->info.vdiv_props.maxVertexAttribDivisor);
 
       ves->hw_state.attribs[i].binding = binding;
-      ves->hw_state.attribs[i].location = i; // TODO: unsure
+      ves->hw_state.attribs[i].location = i;
       ves->hw_state.attribs[i].format = zink_get_format(screen,
                                                         elem->src_format);
       assert(ves->hw_state.attribs[i].format != VK_FORMAT_UNDEFINED);