mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 20:36:24 -05:00
0cb52ee74a
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues.
32 lines
1,004 B
C++
32 lines
1,004 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "video_core/shader/debug_data.h"
|
|
#include "video_core/shader/shader.h"
|
|
|
|
namespace Pica {
|
|
|
|
namespace Shader {
|
|
|
|
class InterpreterEngine final : public ShaderEngine {
|
|
public:
|
|
void SetupBatch(ShaderSetup& setup, unsigned int entry_point) override;
|
|
void Run(const ShaderSetup& setup, UnitState& state) const override;
|
|
|
|
/**
|
|
* Produce debug information based on the given shader and input vertex
|
|
* @param setup Shader engine state
|
|
* @param input Input vertex into the shader
|
|
* @param config Configuration object for the shader pipeline
|
|
* @return Debug information for this shader with regards to the given vertex
|
|
*/
|
|
DebugData<true> ProduceDebugInfo(const ShaderSetup& setup, const AttributeBuffer& input,
|
|
const ShaderRegs& config) const;
|
|
};
|
|
|
|
} // namespace
|
|
|
|
} // namespace
|