summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader_interpreter.h
blob: 43c1ed5ea8aa55edaf88c2c7629028d667e8b1a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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/shader.h"

namespace Pica {

namespace Shader {

class InterpreterEngine final : public ShaderEngine {
public:
    void SetupBatch(const ShaderSetup* setup) override;
    void Run(UnitState& state, unsigned int entry_point) const override;
    DebugData<true> ProduceDebugInfo(const InputVertex& input, int num_attributes,
                                     unsigned int entry_point) const override;

private:
    const ShaderSetup* setup = nullptr;
};

} // namespace

} // namespace