Mesa (master): ac/shader_info: fix a comment
Dave Airlie
airlied at kemper.freedesktop.org
Tue Jun 27 00:28:47 UTC 2017
Module: Mesa
Branch: master
Commit: e8ba03d32a766f947046253f914afb53260c17f2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8ba03d32a766f947046253f914afb53260c17f2
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Tue May 16 00:04:10 2017 +0200
ac/shader_info: fix a comment
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/amd/common/ac_shader_info.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/amd/common/ac_shader_info.h b/src/amd/common/ac_shader_info.h
index 3a3d2c471a..5f03e79a83 100644
--- a/src/amd/common/ac_shader_info.h
+++ b/src/amd/common/ac_shader_info.h
@@ -20,13 +20,13 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
+
#ifndef AC_SHADER_INFO_H
#define AC_SHADER_INFO_H
+
struct nir_shader;
struct ac_nir_compiler_options;
-/* a NIR pass to gather all the info needed to optimise the alloction patterns for the RADV user sgprs */
-
struct ac_shader_info {
bool needs_push_constants;
uint32_t desc_set_used_mask;
@@ -42,8 +42,12 @@ struct ac_shader_info {
} cs;
};
+/* A NIR pass to gather all the info needed to optimise the allocation patterns
+ * for the RADV user sgprs
+ */
void
ac_nir_shader_info_pass(struct nir_shader *nir,
const struct ac_nir_compiler_options *options,
struct ac_shader_info *info);
+
#endif
More information about the mesa-commit
mailing list