Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ExecutionTests] Add validation and signing step to isNormal Test (mi…
…crosoft#5568) The IsNormal tests required an addition to the testing framework provided by ShaderOpTest.cpp, known as the MakeShaderReplacementCallback function. This function takes a shader, compiles it to DXIL, disassembles it into a string, replaces anything specified in the function parameters, and reassembles the shader back into a dxil container. The problem with the initial implementation was that after disassembling the shader, the signature applied to the shader on the compile step would be lost. This PR adds a validation / signing step right after assembling the shader to ensure the new DXIL container has a signature. This will prevent problems with calling CreateComputePipelineState due to a missing signature. Verified that this fails when disabling experimental mode, and passes only when dxil.dll is available. Fixes microsoft#5337
- Loading branch information