case PIPE_CAP_NPOT_TEXTURES:
/* IN THEORY */
return 0;
- case PIPE_CAP_S3TC:
- /* IN THEORY */
- return 0;
case PIPE_CAP_TWO_SIDED_STENCIL:
/* IN THEORY */
/* if (r300screen->is_r500) {
* return 0;
* } */
return 0;
+ case PIPE_CAP_GLSL:
+ /* IN THEORY */
+ return 0;
+ case PIPE_CAP_S3TC:
+ /* IN THEORY */
+ return 0;
case PIPE_CAP_ANISOTROPIC_FILTER:
/* IN THEORY */
return 0;
case PIPE_CAP_POINT_SPRITE:
/* IN THEORY */
return 0;
+ case PIPE_CAP_MAX_RENDER_TARGETS:
+ /* XXX 4 eventually */
+ return 1;
case PIPE_CAP_OCCLUSION_QUERY:
/* IN THEORY */
return 0;
case PIPE_CAP_TEXTURE_SHADOW_MAP:
/* IN THEORY */
return 0;
- case PIPE_CAP_GLSL:
- /* IN THEORY */
- return 0;
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
if (r300screen->caps->is_r500) {
/* 13 == 4096x4096 */
/* 12 == 2048x2048 */
return 12;
}
- case PIPE_CAP_MAX_RENDER_TARGETS:
- /* XXX 4 eventually */
+ case PIPE_CAP_TEXTURE_MIRROR_CLAMP:
+ return 1;
+ case PIPE_CAP_TEXTURE_MIRROR_REPEAT:
return 1;
+ case PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS:
+ /* XXX guessing */
+ return 2;
default:
debug_printf("r300: Implementation error: Bad param %d\n",
param);