Commit 77b6b3eb authored by Mike Blumenkrantz's avatar Mike Blumenkrantz 🏋 Committed by Marge Bot

zink: add nir_var_uniform case to get_storage_class()

Reviewed-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <!8504>
parent 2ade1f3a
......@@ -263,6 +263,8 @@ get_storage_class(struct nir_variable *var)
return SpvStorageClassInput;
case nir_var_shader_out:
return SpvStorageClassOutput;
case nir_var_uniform:
return SpvStorageClassUniformConstant;
default:
unreachable("Unsupported nir_variable_mode");
}
......
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