mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
crocus: set max clip planes to 6 for gen4.
Fixes piglit gl-1.0-user-clip-all-planes Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14344>
This commit is contained in:
parent
af3cbc5379
commit
9130e4564b
1 changed files with 5 additions and 1 deletions
|
|
@ -294,7 +294,11 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
}
|
||||
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
|
||||
return 140;
|
||||
|
||||
case PIPE_CAP_CLIP_PLANES:
|
||||
if (devinfo->verx10 < 45)
|
||||
return 6;
|
||||
else
|
||||
return 1; // defaults to MAX (8)
|
||||
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
||||
/* 3DSTATE_CONSTANT_XS requires the start of UBOs to be 32B aligned */
|
||||
return 32;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue