Logo
Explore Help
Register Sign In
OpenHarmony/third_party_mesa3d
2
0
Fork 0
You've already forked third_party_mesa3d
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
c2793a304d4adad9e547d8b65060cd4ac255923e
third_party_mesa3d/src/asahi/compiler/agx_nir.h

15 lines
224 B
C
Raw Normal View History

agx: Mask shifts in the backend This gives our shifts SM5 behaviour at the cost of a little extra ALU. That way, we match NIR's shifts. This fixes unsoundness of GLSL expressions like "a << (b & 31)", where the & would mistakenly get optimized away. Closes: #8181 Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reported-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21673>
2023-01-29 13:29:32 -05:00
/*
* Copyright 2023 Alyssa Rosenzweig
* SPDX-License-Identifier: MIT
*/
#ifndef AGX_NIR_H
#define AGX_NIR_H
#include <stdbool.h>
struct nir_shader;
bool agx_nir_lower_algebraic_late(struct nir_shader *shader);
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 138ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API