Re: [Mesa-dev] [PATCH 06/15] clover/spirv: Add functions for validating SPIR-V binaries

2019-05-13 Thread Pierre Moreau
> > + auto const level_to_string = [](spv_message_level_t level){ > > "const auto" would be more idiosyncratic. > > > + switch (level) { > > +case SPV_MSG_FATAL: > > + return std::string("Fatal"); > > +case SPV_MSG_INTERNAL_ERROR: > > +

Re: [Mesa-dev] [PATCH 06/15] clover/spirv: Add functions for validating SPIR-V binaries

2019-05-11 Thread Francisco Jerez
Karol Herbst writes: > From: Pierre Moreau > > Changes since: > * v12: remove autotools (Karol Herbst) > * v11: Fix compilation error introduced in v11. > * v10: > - Reuse format_validation_msg in is_valid_spirv. > - Remove LVL2STR macro in format_validation_msg. > * v9: Add

[Mesa-dev] [PATCH 06/15] clover/spirv: Add functions for validating SPIR-V binaries

2019-05-11 Thread Karol Herbst
From: Pierre Moreau Changes since: * v12: remove autotools (Karol Herbst) * v11: Fix compilation error introduced in v11. * v10: - Reuse format_validation_msg in is_valid_spirv. - Remove LVL2STR macro in format_validation_msg. * v9: Add `clover_cpp_std` to the overrides of the `libclspirv`