X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglsl%2Flink_varyings.h;h=afc16a8baa7123bfe7ad9a09e4d67f3807ea73ed;hb=3bdbc1e436828606d0b549b9480e7cc28b42d159;hp=a80ca8831cbc6d90405b992f4f3f8ac03db2b2be;hpb=b908e85ed3f1c7601c2e56f85ff676b606af10b5;p=mesa.git diff --git a/src/glsl/link_varyings.h b/src/glsl/link_varyings.h index a80ca8831cb..afc16a8baa7 100644 --- a/src/glsl/link_varyings.h +++ b/src/glsl/link_varyings.h @@ -112,6 +112,16 @@ public: return !this->next_buffer_separator && !this->skip_components; } + const char *name() const + { + return this->orig_name; + } + + unsigned get_stream_id() const + { + return this->stream_id; + } + /** * The total number of varying components taken up by this variable. Only * valid if assign_location() has been called.