| commit | 4a62f8bc75f4e2a2792dc15dae0c73a2033133cf | [log] [tgz] |
|---|---|---|
| author | Sil Vilerino <sivileri@microsoft.com> | Fri Feb 28 14:13:31 2025 -0500 |
| committer | Marge Bot <emma+marge@anholt.net> | Fri Feb 28 20:35:13 2025 +0000 |
| tree | 706a34b20fb08cf4270147458020acd9fe86839b | |
| parent | 7dd81ac9c2b5082dae914f4741225c5bbc989932 [diff] |
d3d12: Cache the texture array cap requirement in encoder creation for calls to d3d12_video_create_dpb_buffer Previously, the caps were not queried until after the first DPB buffer was created. That causes the AOT path to be triggered even when the device does report a requirement for texture array. Tested-by: Benjamin Cheng <benjamin.cheng@amd.com> Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33824>