llvmpipe shouldn't be reporting native integer support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
switch(shader)
{
case PIPE_SHADER_FRAGMENT:
- return tgsi_exec_get_shader_param(param);
+ switch (param) {
+ case PIPE_SHADER_CAP_INTEGERS:
+ return 0;
+ default:
+ return tgsi_exec_get_shader_param(param);
+ }
case PIPE_SHADER_VERTEX:
case PIPE_SHADER_GEOMETRY:
switch (param) {
return PIPE_MAX_VERTEX_SAMPLERS;
else
return 0;
+ case PIPE_SHADER_CAP_INTEGERS:
+ return 0;
default:
return draw_get_shader_param(shader, param);
}