merge audita-nolint: 11→7 NOLINT (neteja obsolets)
This commit is contained in:
@@ -185,7 +185,7 @@ namespace Rendering {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// createPipeline
|
// createPipeline
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
auto SDL3GPUShader::createPipeline() -> bool { // NOLINT(readability-function-cognitive-complexity)
|
auto SDL3GPUShader::createPipeline() -> bool {
|
||||||
const SDL_GPUTextureFormat SWAPCHAIN_FMT = SDL_GetGPUSwapchainTextureFormat(device_, window_);
|
const SDL_GPUTextureFormat SWAPCHAIN_FMT = SDL_GetGPUSwapchainTextureFormat(device_, window_);
|
||||||
|
|
||||||
// ---- PostFX pipeline (scene/scaled → swapchain) ----
|
// ---- PostFX pipeline (scene/scaled → swapchain) ----
|
||||||
@@ -351,7 +351,7 @@ namespace Rendering {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
// render — upload scene texture + PostFX pass → swapchain
|
// render — upload scene texture + PostFX pass → swapchain
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
void SDL3GPUShader::render() { // NOLINT(readability-function-cognitive-complexity)
|
void SDL3GPUShader::render() {
|
||||||
if (!is_initialized_) { return; }
|
if (!is_initialized_) { return; }
|
||||||
|
|
||||||
SDL_GPUCommandBuffer* cmd = SDL_AcquireGPUCommandBuffer(device_);
|
SDL_GPUCommandBuffer* cmd = SDL_AcquireGPUCommandBuffer(device_);
|
||||||
@@ -636,7 +636,7 @@ namespace Rendering {
|
|||||||
return shader;
|
return shader;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto SDL3GPUShader::createShaderSPIRV(SDL_GPUDevice* device, // NOLINT(readability-convert-member-functions-to-static)
|
auto SDL3GPUShader::createShaderSPIRV(SDL_GPUDevice* device,
|
||||||
const uint8_t* spv_code,
|
const uint8_t* spv_code,
|
||||||
size_t spv_size,
|
size_t spv_size,
|
||||||
const char* entrypoint,
|
const char* entrypoint,
|
||||||
|
|||||||
Reference in New Issue
Block a user