diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-06-18 19:00:28 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-06-23 10:56:03 -0700 |
commit | 950ceb2bd60c25e7fecdff0fbcbf6e69015588f3 (patch) | |
tree | 15e91df092d34ec3b9b9daca22e35c220bbaed35 /ir.h | |
parent | cc22c5a5447d1d710e49524ee61b76268c7da6b9 (diff) |
ir_variable: Add method to get string representing interpolation qualifier
Diffstat (limited to 'ir.h')
-rw-r--r-- | ir.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -177,6 +177,16 @@ public: return var; } + /** + * Get the string value for the interpolation qualifier + * + * \return + * If none of \c shader_in or \c shader_out is set, an empty string will + * be returned. Otherwise the string that would be used in a shader to + * specify \c mode will be returned. + */ + const char *interpolation_string() const; + const char *name; /** |