diff options
author | Brian <[email protected]> | 2007-03-12 17:29:50 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-12 17:29:50 -0600 |
commit | b3a22d0ed61afa9df4d3a02962884d49bc5760a4 (patch) | |
tree | 40de81f764da167493a4c96be78a57738cf4599f /src/mesa/shader/slang/slang_print.c | |
parent | 8946d7f02938f20f3da46f6a8f7f1196afc271be (diff) |
Implement GL_ARB_texture_rectangle support
This includes the sampler2DRect and sampler2DRectShadow types and
the texture2DRect(), texture2DRectProj(), etc. built-in functions.
Diffstat (limited to 'src/mesa/shader/slang/slang_print.c')
-rw-r--r-- | src/mesa/shader/slang/slang_print.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c index a2f3691ddb1..c377759bea5 100644 --- a/src/mesa/shader/slang/slang_print.c +++ b/src/mesa/shader/slang/slang_print.c @@ -709,6 +709,10 @@ slang_type_string(slang_type_specifier_type t) return "sampler1DShadow"; case SLANG_SPEC_SAMPLER2DSHADOW: return "sampler2DShadow"; + case SLANG_SPEC_SAMPLER2DRECT: + return "sampler2DRect"; + case SLANG_SPEC_SAMPLER2DRECTSHADOW: + return "sampler2DRectShadow"; case SLANG_SPEC_STRUCT: return "struct"; case SLANG_SPEC_ARRAY: |