mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 15:40:20 +01:00
isl/state: Allow for full 31-bit buffer texture sizes
Ivy Bridge and above can handle up to 2^31 elements for RAW buffer
surfaces.
Reviewed-by: Chad Versace <chad.versace@intel.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 97f12773b8)
This commit is contained in:
parent
02bf08e124
commit
40a9ffbbca
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ isl_genX(buffer_fill_state_s)(void *state,
|
|||
s.SurfaceHorizontalAlignment = isl_to_gen_halign[4];
|
||||
s.Height = ((num_elements - 1) >> 7) & 0x3fff;
|
||||
s.Width = (num_elements - 1) & 0x7f;
|
||||
s.Depth = ((num_elements - 1) >> 21) & 0x3f;
|
||||
s.Depth = ((num_elements - 1) >> 21) & 0x3ff;
|
||||
s.SurfacePitch = info->stride - 1;
|
||||
s.NumberofMultisamples = MULTISAMPLECOUNT_1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue