diff options
author | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2018-03-12 15:09:25 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2018-03-12 15:24:14 +0300 |
commit | e8e58844d46ad8c95d68b073f5fc055ce64f9172 (patch) | |
tree | f1dad3efc123451385456399fc9b8b2108c99240 /spirv_hlsl.hpp | |
parent | 29315f3b3fd6dcafab0075e1a3d898c3ff995fed (diff) |
Rewrite everything to use Bitset rather than uint64_t.
Diffstat (limited to 'spirv_hlsl.hpp')
-rw-r--r-- | spirv_hlsl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spirv_hlsl.hpp b/spirv_hlsl.hpp index fd665f2d..10be6516 100644 --- a/spirv_hlsl.hpp +++ b/spirv_hlsl.hpp @@ -121,7 +121,7 @@ private: std::string image_type_hlsl(const SPIRType &type); std::string image_type_hlsl_modern(const SPIRType &type); std::string image_type_hlsl_legacy(const SPIRType &type); - void emit_function_prototype(SPIRFunction &func, uint64_t return_flags) override; + void emit_function_prototype(SPIRFunction &func, const Bitset &return_flags) override; void emit_hlsl_entry_point(); void emit_header() override; void emit_resources(); @@ -143,7 +143,7 @@ private: void emit_fixup() override; std::string builtin_to_glsl(spv::BuiltIn builtin, spv::StorageClass storage) override; std::string layout_for_member(const SPIRType &type, uint32_t index) override; - std::string to_interpolation_qualifiers(uint64_t flags) override; + std::string to_interpolation_qualifiers(const Bitset &flags) override; std::string bitcast_glsl_op(const SPIRType &result_type, const SPIRType &argument_type) override; std::string to_func_call_arg(uint32_t id) override; std::string to_sampler_expression(uint32_t id); |