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;
|
||||
#endif // _WIN32
|
||||
|
||||
namespace tint {
|
||||
namespace val {
|
||||
namespace tint::val {
|
||||
|
||||
Result HlslUsingDXC(const std::string& dxc_path,
|
||||
const std::string& source,
|
||||
|
@ -174,5 +173,4 @@ Result HlslUsingFXC(const std::string& source,
|
|||
}
|
||||
#endif // _WIN32
|
||||
|
||||
} // namespace val
|
||||
} // namespace tint
|
||||
} // namespace tint::val
|
||||
|
|
|
@ -19,8 +19,7 @@
|
|||
#include "src/tint/utils/io/command.h"
|
||||
#include "src/tint/utils/io/tmpfile.h"
|
||||
|
||||
namespace tint {
|
||||
namespace val {
|
||||
namespace tint::val {
|
||||
|
||||
Result Msl(const std::string& xcrun_path, const std::string& source) {
|
||||
Result result;
|
||||
|
@ -65,5 +64,4 @@ Result Msl(const std::string& xcrun_path, const std::string& source) {
|
|||
return result;
|
||||
}
|
||||
|
||||
} // namespace val
|
||||
} // namespace tint
|
||||
} // namespace tint::val
|
||||
|
|
|
@ -22,8 +22,7 @@
|
|||
#include "src/tint/val/val.h"
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
namespace tint {
|
||||
namespace val {
|
||||
namespace tint::val {
|
||||
|
||||
Result MslUsingMetalAPI(const std::string& src) {
|
||||
tint::val::Result result;
|
||||
|
@ -55,7 +54,6 @@ Result MslUsingMetalAPI(const std::string& src) {
|
|||
return result;
|
||||
}
|
||||
|
||||
} // namespace val
|
||||
} // namespace tint
|
||||
} // namespace tint::val
|
||||
|
||||
#endif // TINT_ENABLE_MSL_VALIDATION_USING_METAL_API
|
||||
|
|
|
@ -26,8 +26,7 @@ namespace tint {
|
|||
class Program;
|
||||
} // namespace tint
|
||||
|
||||
namespace tint {
|
||||
namespace val {
|
||||
namespace tint::val {
|
||||
|
||||
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);
|
||||
#endif // TINT_ENABLE_MSL_VALIDATION_USING_METAL_API
|
||||
|
||||
} // namespace val
|
||||
} // namespace tint
|
||||
} // namespace tint::val
|
||||
|
||||
#endif // SRC_TINT_VAL_VAL_H_
|
||||
|
|
Loading…
Reference in New Issue