summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_arbshader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_arbshader.c')
-rw-r--r--src/mesa/swrast/s_arbshader.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_arbshader.c b/src/mesa/swrast/s_arbshader.c
index a2dc1353f0..c3f85ee157 100644
--- a/src/mesa/swrast/s_arbshader.c
+++ b/src/mesa/swrast/s_arbshader.c
@@ -35,6 +35,8 @@
#include "slang_utility.h"
#include "slang_link.h"
+#if FEATURE_ARB_fragment_shader
+
void
_swrast_exec_arbshader(GLcontext *ctx, struct sw_span *span)
{
@@ -113,3 +115,6 @@ _swrast_exec_arbshader(GLcontext *ctx, struct sw_span *span)
}
}
}
+
+#endif /* FEATURE_ARB_fragment_shader */
+