mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 13:40:37 +02:00
crocus/gen5: enable support for GL_EXT_gpu_shader4
There has been a few requests for this and I've got patches for glamor to use this to speed up the paths that use GLSL 1.30 now. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11693>
This commit is contained in:
parent
c71daec260
commit
d41992c241
1 changed files with 2 additions and 2 deletions
|
|
@ -294,10 +294,10 @@ crocus_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return 420;
|
||||
else if (devinfo->ver >= 6)
|
||||
return 330;
|
||||
return 120;
|
||||
return 140;
|
||||
}
|
||||
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
|
||||
return devinfo->ver < 6 ? 120 : 130;
|
||||
return 140;
|
||||
|
||||
case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT:
|
||||
/* 3DSTATE_CONSTANT_XS requires the start of UBOs to be 32B aligned */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue