Cleanup lint errors.
This CL cleans up some lint errors. Change-Id: Ibfe9768cc4272d015a35a8d7edde0390b8fc66a5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/19504 Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
parent
f963128c88
commit
266a32954e
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2020 The Tint Authors.
|
||||
// Copyright 2020 The Tint Authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2020 The Tint Authors.
|
||||
// Copyright 2020 The Tint Authors.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -55,7 +55,7 @@ class DecoratedVariable;
|
|||
/// 3. A formal parameter to a function is a name for a typed value to
|
||||
/// be passed into a function. Example:
|
||||
///
|
||||
/// fn twice(a: i32) -> i32 { // "a:i32" is the formal parameter
|
||||
/// fn twice(a: i32) -> i32 { // "a:i32" is the formal parameter
|
||||
/// return a + a;
|
||||
/// }
|
||||
///
|
||||
|
|
|
@ -337,23 +337,23 @@ std::unique_ptr<ast::Expression> FunctionEmitter::MaybeEmitCombinatorialValue(
|
|||
// glsl.std.450 readonly function
|
||||
|
||||
// Instructions:
|
||||
// OpCopyObject
|
||||
// OpUndef
|
||||
// OpBitcast
|
||||
// OpSatConvertSToU
|
||||
// OpSatConvertUToS
|
||||
// OpSatConvertFToS
|
||||
// OpSatConvertFToU
|
||||
// OpSatConvertSToF
|
||||
// OpSatConvertUToF
|
||||
// OpUConvert
|
||||
// OpSConvert
|
||||
// OpFConvert
|
||||
// OpConvertPtrToU // Not in WebGPU
|
||||
// OpConvertUToPtr // Not in WebGPU
|
||||
// OpPtrCastToGeneric // Not in Vulkan
|
||||
// OpGenericCastToPtr // Not in Vulkan
|
||||
// OpGenericCastToPtrExplicit // Not in Vulkan
|
||||
// OpCopyObject
|
||||
// OpUndef
|
||||
// OpBitcast
|
||||
// OpSatConvertSToU
|
||||
// OpSatConvertUToS
|
||||
// OpSatConvertFToS
|
||||
// OpSatConvertFToU
|
||||
// OpSatConvertSToF
|
||||
// OpSatConvertUToF
|
||||
// OpUConvert
|
||||
// OpSConvert
|
||||
// OpFConvert
|
||||
// OpConvertPtrToU // Not in WebGPU
|
||||
// OpConvertUToPtr // Not in WebGPU
|
||||
// OpPtrCastToGeneric // Not in Vulkan
|
||||
// OpGenericCastToPtr // Not in Vulkan
|
||||
// OpGenericCastToPtrExplicit // Not in Vulkan
|
||||
//
|
||||
// OpAccessChain
|
||||
// OpInBoundsAccessChain
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#define SRC_READER_SPIRV_FUNCTION_H_
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include "source/opt/basic_block.h"
|
||||
|
|
Loading…
Reference in New Issue