Fix debug error message. Add switch case for PIPE_SHADER_COMPUTE.
Trivial.
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
return 16;
default:
- debug_printf("Unexpected vertex shader query %u\n", param);
+ debug_printf("Unexpected fragment shader query %u\n", param);
return 0;
}
break;
}
break;
case PIPE_SHADER_GEOMETRY:
- /* no support for geometry shaders at this time */
+ case PIPE_SHADER_COMPUTE:
+ /* no support for geometry or compute shaders at this time */
return 0;
default:
debug_printf("Unexpected shader type (%u) query\n", shader);