mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
softpipe: Report some sane values for constant buffer CAP queries.
This commit is contained in:
parent
25123e0c88
commit
3320acb67d
1 changed files with 4 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ softpipe_get_param(struct pipe_screen *screen, int param)
|
|||
return 1;
|
||||
case PIPE_CAP_BLEND_EQUATION_SEPARATE:
|
||||
return 1;
|
||||
case PIPE_CAP_MAX_CONST_BUFFERS:
|
||||
return PIPE_MAX_CONSTANT_BUFFERS;
|
||||
case PIPE_CAP_MAX_CONST_BUFFER_SIZE:
|
||||
return 4096 * 4 * sizeof(float);
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue