mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 19:01:24 +00:00
Condense namespaces in tint/val
This PR condenses the namespaces in the tint/val folder. Change-Id: I99fe97a5ab5bee2c0a22d4ad382aa57557b871fe Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86027 Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
5d590591ef
commit
c05f045df4
@ -26,8 +26,7 @@
|
|||||||
using Microsoft::WRL::ComPtr;
|
using Microsoft::WRL::ComPtr;
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
namespace tint {
|
namespace tint::val {
|
||||||
namespace val {
|
|
||||||
|
|
||||||
Result HlslUsingDXC(const std::string& dxc_path,
|
Result HlslUsingDXC(const std::string& dxc_path,
|
||||||
const std::string& source,
|
const std::string& source,
|
||||||
@ -174,5 +173,4 @@ Result HlslUsingFXC(const std::string& source,
|
|||||||
}
|
}
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
} // namespace val
|
} // namespace tint::val
|
||||||
} // namespace tint
|
|
||||||
|
@ -19,8 +19,7 @@
|
|||||||
#include "src/tint/utils/io/command.h"
|
#include "src/tint/utils/io/command.h"
|
||||||
#include "src/tint/utils/io/tmpfile.h"
|
#include "src/tint/utils/io/tmpfile.h"
|
||||||
|
|
||||||
namespace tint {
|
namespace tint::val {
|
||||||
namespace val {
|
|
||||||
|
|
||||||
Result Msl(const std::string& xcrun_path, const std::string& source) {
|
Result Msl(const std::string& xcrun_path, const std::string& source) {
|
||||||
Result result;
|
Result result;
|
||||||
@ -65,5 +64,4 @@ Result Msl(const std::string& xcrun_path, const std::string& source) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace val
|
} // namespace tint::val
|
||||||
} // namespace tint
|
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
#include "src/tint/val/val.h"
|
#include "src/tint/val/val.h"
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
namespace tint {
|
namespace tint::val {
|
||||||
namespace val {
|
|
||||||
|
|
||||||
Result MslUsingMetalAPI(const std::string& src) {
|
Result MslUsingMetalAPI(const std::string& src) {
|
||||||
tint::val::Result result;
|
tint::val::Result result;
|
||||||
@ -55,7 +54,6 @@ Result MslUsingMetalAPI(const std::string& src) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace val
|
} // namespace tint::val
|
||||||
} // namespace tint
|
|
||||||
|
|
||||||
#endif // TINT_ENABLE_MSL_VALIDATION_USING_METAL_API
|
#endif // TINT_ENABLE_MSL_VALIDATION_USING_METAL_API
|
||||||
|
@ -26,8 +26,7 @@ namespace tint {
|
|||||||
class Program;
|
class Program;
|
||||||
} // namespace tint
|
} // namespace tint
|
||||||
|
|
||||||
namespace tint {
|
namespace tint::val {
|
||||||
namespace val {
|
|
||||||
|
|
||||||
using EntryPointList = std::vector<std::pair<std::string, ast::PipelineStage>>;
|
using EntryPointList = std::vector<std::pair<std::string, ast::PipelineStage>>;
|
||||||
|
|
||||||
@ -74,7 +73,6 @@ Result Msl(const std::string& xcrun_path, const std::string& source);
|
|||||||
Result MslUsingMetalAPI(const std::string& source);
|
Result MslUsingMetalAPI(const std::string& source);
|
||||||
#endif // TINT_ENABLE_MSL_VALIDATION_USING_METAL_API
|
#endif // TINT_ENABLE_MSL_VALIDATION_USING_METAL_API
|
||||||
|
|
||||||
} // namespace val
|
} // namespace tint::val
|
||||||
} // namespace tint
|
|
||||||
|
|
||||||
#endif // SRC_TINT_VAL_VAL_H_
|
#endif // SRC_TINT_VAL_VAL_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user