Initial HLK test for GroupSharedLimit#8160
Draft
JoeCitizen wants to merge 1 commit intomicrosoft:mainfrom
Draft
Conversation
Contributor
You can test this locally with the following command:git-clang-format --diff c44a383b49d38e4fc64c8f66cbb5ac9e2fd88a79 bb0f4bc8c069eebf7ae51f77f6d526c510a23c47 -- tools/clang/unittests/HLSLExec/ExecutionTest.cppView the diff from clang-format here.diff --git a/tools/clang/unittests/HLSLExec/ExecutionTest.cpp b/tools/clang/unittests/HLSLExec/ExecutionTest.cpp
index fff03ffc..5d4e313a 100644
--- a/tools/clang/unittests/HLSLExec/ExecutionTest.cpp
+++ b/tools/clang/unittests/HLSLExec/ExecutionTest.cpp
@@ -10675,8 +10675,7 @@ void ExecutionTest::GroupSharedLimitTest() {
std::shared_ptr<st::ShaderOpTestResult> test =
st::RunShaderOpTestAfterParse(
pDevice, m_support, "GroupSharedLimitTest",
- [&](LPCSTR Name, std::vector<BYTE> &Data,
- st::ShaderOp *pShaderOp) {
+ [&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
VERIFY_IS_TRUE((0 == strncmp(Name, "UAVBuffer0", 10)));
pShaderOp->Shaders.at(0).Text = pShader;
Data.resize(sizeof(uint32_t) * GSM_DWORDS);
@@ -10727,8 +10726,7 @@ void ExecutionTest::GroupSharedLimitTest() {
std::shared_ptr<st::ShaderOpTestResult> test =
st::RunShaderOpTestAfterParse(
pDevice, m_support, "GroupSharedLimitTest",
- [&](LPCSTR Name, std::vector<BYTE> &Data,
- st::ShaderOp *pShaderOp) {
+ [&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
VERIFY_IS_TRUE((0 == strncmp(Name, "UAVBuffer0", 10)));
pShaderOp->Shaders.at(0).Text = pShader;
Data.resize(sizeof(uint32_t) * GSM_DWORDS);
@@ -10776,8 +10774,7 @@ void ExecutionTest::GroupSharedLimitTest() {
std::shared_ptr<st::ShaderOpTestResult> test =
st::RunShaderOpTestAfterParse(
pDevice, m_support, "GroupSharedLimitTest",
- [&](LPCSTR Name, std::vector<BYTE> &Data,
- st::ShaderOp *pShaderOp) {
+ [&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
VERIFY_IS_TRUE((0 == strncmp(Name, "UAVBuffer0", 10)));
pShaderOp->Shaders.at(0).Text = pShader;
Data.resize(sizeof(uint32_t) * GSM_DWORDS);
@@ -10814,8 +10811,7 @@ void ExecutionTest::GroupSharedLimitTest() {
std::shared_ptr<st::ShaderOpTestResult> test =
st::RunShaderOpTestAfterParse(
pDevice, m_support, "GroupSharedLimitTest",
- [&](LPCSTR Name, std::vector<BYTE> &Data,
- st::ShaderOp *pShaderOp) {
+ [&](LPCSTR Name, std::vector<BYTE> &Data, st::ShaderOp *pShaderOp) {
VERIFY_IS_TRUE((0 == strncmp(Name, "UAVBuffer0", 10)));
pShaderOp->Shaders.at(0).Text = pShader;
Data.resize(sizeof(uint32_t));
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.