mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
radeonsi/gfx12: dont use HTILE for imported textures
Same as other chips. Reviewed-by: Ganesh Belgur Ramachandra <ganesh.belgurramachandra@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36228>
This commit is contained in:
parent
7c2a9e8d2a
commit
ae1aeafe49
2 changed files with 3 additions and 6 deletions
|
|
@ -19,11 +19,6 @@ spec@khr_texture_compression_astc@miptree-gles srgb-fp@sRGB decode full precisio
|
|||
spec@khr_texture_compression_astc@sliced-3d-miptree-gles srgb-fp,Fail
|
||||
spec@khr_texture_compression_astc@sliced-3d-miptree-gles srgb-fp@sRGB decode full precision,Fail
|
||||
spec@oes_shader_io_blocks@compiler@layout-location-aliasing.vert,Fail
|
||||
spec@ext_external_objects@vk-depth-display,Fail
|
||||
spec@ext_external_objects@vk-depth-display@D16,Fail
|
||||
spec@ext_external_objects@vk-depth-display@D32S8,Fail
|
||||
spec@ext_external_objects@vk-stencil-display,Fail
|
||||
spec@ext_external_objects@vk-stencil-display@D32S8,Fail
|
||||
|
||||
# This is caused by lowering mediump before linking:
|
||||
spec@glsl-es-1.00@linker@glsl-mismatched-uniform-precision-unused,Fail
|
||||
|
|
|
|||
|
|
|
@ -222,7 +222,9 @@ static int si_init_surface(struct si_screen *sscreen, struct radeon_surf *surfac
|
|||
flags |= RADEON_SURF_SBUFFER;
|
||||
|
||||
if (sscreen->debug_flags & DBG(NO_HYPERZ) ||
|
||||
ptex->flags & PIPE_RESOURCE_FLAG_SPARSE)
|
||||
(ptex->flags & PIPE_RESOURCE_FLAG_SPARSE) ||
|
||||
(ptex->bind & PIPE_BIND_SHARED) ||
|
||||
is_imported)
|
||||
flags |= RADEON_SURF_NO_HTILE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue