Skip to content

Conversation

@bob80905
Copy link
Collaborator

@bob80905 bob80905 commented Jun 27, 2023

A recent change from a recent PR includes changes to how the MDVals data structure inside of EmitDxilFunctionProps gets elements (push_back instead of index assignment).
However, there was no accompanying test for these changes, because HLSLFileCheck\hlsl\workgraph\called_function_arg_nodeoutput.hlsl exercised this code path and failed without the MDVals changes.
This PR adds some extra context to the above test so that the extra purpose the above test serves isn't lost with time.

The test passes with the MDVals pushback changes, and fails with the original valIdx index assignments.

@bob80905 bob80905 self-assigned this Jun 27, 2023
@bob80905 bob80905 requested a review from pow2clk June 27, 2023 23:45
@bob80905 bob80905 changed the title [Test] Test MDVals in EmitDxilFunctionProps [NFC] Test MDVals in EmitDxilFunctionProps Jun 30, 2023
@bob80905 bob80905 changed the title [NFC] Test MDVals in EmitDxilFunctionProps [NFC] Add more information on testing MDVals insertion in EmitDxilFunctionProps Jun 30, 2023
@bob80905 bob80905 enabled auto-merge (squash) June 30, 2023 23:59
@bob80905 bob80905 merged commit 6b18a6a into microsoft:release-preview-1.8.2306 Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants