zink: document why we're calling pipe_shader_type_from_mesa
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9898>
This commit is contained in:
parent
b25188021d
commit
5cd113cb10
|
@ -373,6 +373,7 @@ update_shader_modules(struct zink_context *ctx, struct zink_shader *stages[ZINK_
|
|||
}
|
||||
|
||||
for (int i = 0; i < ZINK_SHADER_COUNT; ++i) {
|
||||
/* we need to iterate over the stages in pipeline-order here */
|
||||
enum pipe_shader_type type = pipe_shader_type_from_mesa(i);
|
||||
assert(type < ZINK_SHADER_COUNT);
|
||||
if (dirty[i]) {
|
||||
|
|
Loading…
Reference in New Issue