Mesa (master): r600/sfn: fix definition of priority queue
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 28 15:28:01 UTC 2020
Module: Mesa
Branch: master
Commit: 261f42f0c8790edfe40a3da65715fb29164335d8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=261f42f0c8790edfe40a3da65715fb29164335d8
Author: Gert Wollny <gert.wollny at collabora.com>
Date: Sat Nov 28 10:27:48 2020 +0100
r600/sfn: fix definition of priority queue
Closes #3889
Fixes: b8fdcffc4c755241d645c62385729ee14dd8620b
r600/sfn: Fix vertex stage export to accomodate IO lowering
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7820>
---
src/gallium/drivers/r600/sfn/sfn_vertexstageexport.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.h b/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.h
index 3bb9fb2b37a..46aee807195 100644
--- a/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.h
+++ b/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.h
@@ -52,7 +52,7 @@ protected:
unsigned param_id(unsigned driver_location);
unsigned current_param() const;
private:
- std::priority_queue<unsigned, std::vector<int>, std::greater<int> > m_param_driver_locations;
+ std::priority_queue<unsigned, std::vector<unsigned>, std::greater<unsigned> > m_param_driver_locations;
std::map<unsigned, unsigned> m_param_map;
unsigned m_current_param;
};
More information about the mesa-commit
mailing list