#include <utility>
#include "src/tint/lang/hlsl/writer/ast_raise/pixel_local.h"
#include "src/tint/lang/wgsl/ast/transform/helper_test.h"
namespace tint::hlsl::writer {
namespace {
struct ROVBinding { … };
ast::transform::DataMap Bindings(std::initializer_list<ROVBinding> bindings,
uint32_t groupIndex = 0) { … }
HLSLPixelLocalTest;
TEST_F(HLSLPixelLocalTest, EmptyModule) { … }
TEST_F(HLSLPixelLocalTest, MissingBindings) { … }
TEST_F(HLSLPixelLocalTest, UseInEntryPoint_NoPosition) { … }
TEST_F(HLSLPixelLocalTest, UseInEntryPoint_SeparatePosition) { … }
TEST_F(HLSLPixelLocalTest, UseInEntryPoint_PositionInStruct) { … }
TEST_F(HLSLPixelLocalTest, UseInEntryPoint_NonZeroROVGroupIndex) { … }
TEST_F(HLSLPixelLocalTest, UseInEntryPoint_Multiple_PixelLocal_Members) { … }
TEST_F(HLSLPixelLocalTest, UseInEntryPoint_Multiple_PixelLocal_Members_And_Fragment_Output) { … }
TEST_F(HLSLPixelLocalTest, ROV_Format_Different_From_Pixel_Local_Member_Format) { … }
TEST_F(HLSLPixelLocalTest, UseInCallee) { … }
TEST_F(HLSLPixelLocalTest, ROVLoadFunctionNameUsed) { … }
TEST_F(HLSLPixelLocalTest, ROVStoreFunctionNameUsed) { … }
TEST_F(HLSLPixelLocalTest, NewBuiltinPositionVariableNamesUsed) { … }
TEST_F(HLSLPixelLocalTest, WithInvariantBuiltinInputParameter) { … }
TEST_F(HLSLPixelLocalTest, WithInvariantBuiltinInputStructParameter) { … }
TEST_F(HLSLPixelLocalTest, WithLocationInputParameter) { … }
TEST_F(HLSLPixelLocalTest, WithLocationInputStructParameter) { … }
TEST_F(HLSLPixelLocalTest, WithBuiltinAndLocationInputParameter) { … }
TEST_F(HLSLPixelLocalTest, WithBuiltinAndLocationInputStructParameter) { … }
}
}