From b3a22d0ed61afa9df4d3a02962884d49bc5760a4 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 12 Mar 2007 17:29:50 -0600 Subject: Implement GL_ARB_texture_rectangle support This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions. --- src/mesa/shader/slang/slang_compile_variable.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/shader/slang/slang_compile_variable.c') diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c index 09ca736c20..ae37aed514 100644 --- a/src/mesa/shader/slang/slang_compile_variable.c +++ b/src/mesa/shader/slang/slang_compile_variable.c @@ -62,6 +62,8 @@ static const type_specifier_type_name type_specifier_type_names[] = { {"samplerCube", SLANG_SPEC_SAMPLERCUBE}, {"sampler1DShadow", SLANG_SPEC_SAMPLER1DSHADOW}, {"sampler2DShadow", SLANG_SPEC_SAMPLER2DSHADOW}, + {"sampler2DRect", SLANG_SPEC_SAMPLER2DRECT}, + {"sampler2DRectShadow", SLANG_SPEC_SAMPLER2DRECTSHADOW}, {NULL, SLANG_SPEC_VOID} }; -- cgit v1.2.3