chromium/third_party/vulkan-validation-layers/src/layers/gpu/spirv/non_bindless_oob_buffer_pass.cpp

/* Copyright (c) 2024 LunarG, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "non_bindless_oob_buffer_pass.h"
#include "module.h"
#include <spirv/unified1/spirv.hpp>
#include <iostream>

#include "generated/instrumentation_non_bindless_oob_buffer_comp.h"
#include "gpu/shaders/gpu_shaders_constants.h"

namespace gpu {
namespace spirv {

NonBindlessOOBBufferPass::NonBindlessOOBBufferPass(Module& module) :{}

static LinkInfo link_info =;

// By appending the LinkInfo, it will attempt at linking stage to add the function.
uint32_t NonBindlessOOBBufferPass::GetLinkFunctionId() {}

uint32_t NonBindlessOOBBufferPass::CreateFunctionCall(BasicBlock& block, InstructionIt* inst_it,
                                                      const InjectionData& injection_data) {}

void NonBindlessOOBBufferPass::Reset() {}

bool NonBindlessOOBBufferPass::AnalyzeInstruction(const Function& function, const Instruction& inst) {}

void NonBindlessOOBBufferPass::PrintDebugInfo() {}

// Created own Run() because need to control finding the largest offset in a given block
bool NonBindlessOOBBufferPass::Run() {}

}  // namespace spirv
}  // namespace gpu