enable PIPE_CAP_TEXTURE_SHADOW_MAP (but not quite working yet)
authorBrian <brian.paul@tungstengraphics.com>
Thu, 8 Nov 2007 17:08:24 +0000 (10:08 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 8 Nov 2007 17:08:24 +0000 (10:08 -0700)
src/mesa/pipe/i915simple/i915_context.c

index 9f11fe538572cc3c979485b49dd54ac6cf73c913..4a5b6bec61f23d4dd79b4cd4c448c03ee3575e14 100644 (file)
@@ -130,7 +130,7 @@ i915_get_param(struct pipe_context *pipe, int param)
    case PIPE_CAP_OCCLUSION_QUERY:
       return 0;
    case PIPE_CAP_TEXTURE_SHADOW_MAP:
-      return 0;
+      return 1;
    case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
       return 11; /* max 1024x1024 */
    case PIPE_CAP_MAX_TEXTURE_3D_LEVELS: