mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
pan/compiler: Add better documentation for second lower_int64
Signed-off-by: Lorenzo Rossi <lorenzo.rossi@collabora.com> Reviewed-by: Christoph Pillmayer <christoph.pillmayer@arm.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40924>
This commit is contained in:
parent
d2f7b8db9d
commit
db27a10f38
1 changed files with 5 additions and 2 deletions
|
|
@ -296,8 +296,11 @@ bi_optimize_late(nir_shader *nir, uint64_t gpu_id,
|
|||
* handle them */
|
||||
NIR_PASS(_, nir, nir_opt_algebraic);
|
||||
|
||||
/* TODO: Why is 64-bit getting rematerialized?
|
||||
* KHR-GLES31.core.shader_image_load_store.basic-allTargets-atomicFS */
|
||||
/* This is only needed because we support iadd64 but not isub64.
|
||||
* nir_opt_algebraic lowers isub64 into iadd64 + ineg64 and since ineg64 is
|
||||
* not supported either we lower that too.
|
||||
* TODO: wire up isub64 and ineg64, then remove this
|
||||
*/
|
||||
NIR_PASS(_, nir, nir_lower_int64);
|
||||
|
||||
/* Algebraic can materialize instructions with a bit_size that we need to lower */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue