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:
parent
8091c68450
commit
cd39ade86f
|
@ -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());
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue