Re-add const to TranslateToHLSLWithTint()

Addresses a late review comment:
https://dawn-review.googlesource.com/c/dawn/+/48060/8/src/dawn_native/d3d12/ShaderModuleD3D12.cpp#197

Change-Id: I71a85171a1dc2d98760f2a5fce5df4eb513f9467
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/48385
Commit-Queue: Ben Clayton <bclayton@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Ben Clayton 2021-04-20 14:32:19 +00:00 committed by Commit Bot service account
parent 8091c68450
commit cd39ade86f
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ namespace dawn_native { namespace d3d12 {
SingleShaderStage stage,
PipelineLayout* layout,
std::string* remappedEntryPointName,
FirstOffsetInfo* firstOffsetInfo) {
FirstOffsetInfo* firstOffsetInfo) const {
ASSERT(!IsError());
ScopedTintICEHandler scopedICEHandler(GetDevice());

View File

@ -63,7 +63,7 @@ namespace dawn_native { namespace d3d12 {
SingleShaderStage stage,
PipelineLayout* layout,
std::string* remappedEntryPointName,
FirstOffsetInfo* firstOffsetInfo);
FirstOffsetInfo* firstOffsetInfo) const;
ResultOrError<std::string> TranslateToHLSLWithSPIRVCross(const char* entryPointName,
SingleShaderStage stage,