mesa: add hardware accelerated select constant
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15765>
This commit is contained in:
parent
ff8ae4e589
commit
2224d6c35d
|
@ -994,5 +994,8 @@ struct gl_constants
|
|||
GLuint MaxSparse3DTextureSize;
|
||||
GLuint MaxSparseArrayTextureLayers;
|
||||
bool SparseTextureFullArrayCubeMipmaps;
|
||||
|
||||
/** Use hardware accelerated GL_SELECT */
|
||||
bool HardwareAcceleratedSelect;
|
||||
};
|
||||
#endif
|
||||
|
|
|
@ -626,6 +626,8 @@ void st_init_limits(struct pipe_screen *screen,
|
|||
screen->get_param(screen, PIPE_CAP_MAX_SPARSE_ARRAY_TEXTURE_LAYERS);
|
||||
c->SparseTextureFullArrayCubeMipmaps =
|
||||
screen->get_param(screen, PIPE_CAP_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS);
|
||||
|
||||
c->HardwareAcceleratedSelect = false;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue