mirror of
https://github.com/RPCSX/SPIRV-Tools.git
synced 2024-12-04 09:43:14 +00:00
Fix build by renaming ValidationState_t constructor argument.
The `diag` argument shadows the `diag` method, so the strict build fails.
This commit is contained in:
parent
c741385976
commit
433285626e
@ -116,8 +116,8 @@ const vector<vector<SpvOp>>& GetModuleOrder() {
|
||||
|
||||
namespace libspirv {
|
||||
|
||||
ValidationState_t::ValidationState_t(spv_diagnostic* diag, uint32_t options)
|
||||
: diagnostic_(diag),
|
||||
ValidationState_t::ValidationState_t(spv_diagnostic* diagnostic, uint32_t options)
|
||||
: diagnostic_(diagnostic),
|
||||
instruction_counter_(0),
|
||||
defined_ids_{},
|
||||
unresolved_forward_ids_{},
|
||||
|
@ -152,7 +152,7 @@ class Functions {
|
||||
|
||||
class ValidationState_t {
|
||||
public:
|
||||
ValidationState_t(spv_diagnostic* diag, uint32_t options);
|
||||
ValidationState_t(spv_diagnostic* diagnostic, uint32_t options);
|
||||
|
||||
// Defines the \p id for the module
|
||||
spv_result_t defineId(uint32_t id);
|
||||
|
Loading…
Reference in New Issue
Block a user