mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
mesa: remove fallback for GL_DEPTH_STENCIL
st_TexSubImage has this "default to fallback for depth-stencil" since 2013. I think it's time to remove this limitation - hopefully all drivers will be happy with the change to avoid adding yet another CAP. This helps CS:GO startup a lot, because the fallback path is very very slow. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18484>
This commit is contained in:
parent
2baa40b041
commit
4da147a02b
1 changed files with 0 additions and 6 deletions
|
|
@ -1987,12 +1987,6 @@ st_TexSubImage(struct gl_context *ctx, GLuint dims,
|
|||
goto fallback;
|
||||
}
|
||||
|
||||
/* XXX Fallback for depth-stencil formats due to an incomplete stencil
|
||||
* blit implementation in some drivers. */
|
||||
if (format == GL_DEPTH_STENCIL) {
|
||||
goto fallback;
|
||||
}
|
||||
|
||||
/* If the base internal format and the texture format don't match,
|
||||
* we can't use blit-based TexSubImage. */
|
||||
if (texImage->_BaseFormat !=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue