|
|
@ -57,8 +57,7 @@ public:
|
|
|
|
ScreenInfo& info);
|
|
|
|
ScreenInfo& info);
|
|
|
|
~RasterizerOpenGL() override;
|
|
|
|
~RasterizerOpenGL() override;
|
|
|
|
|
|
|
|
|
|
|
|
bool DrawBatch(bool is_indexed) override;
|
|
|
|
void Draw(bool is_indexed, bool is_instanced) override;
|
|
|
|
bool DrawMultiBatch(bool is_indexed) override;
|
|
|
|
|
|
|
|
void Clear() override;
|
|
|
|
void Clear() override;
|
|
|
|
void DispatchCompute(GPUVAddr code_addr) override;
|
|
|
|
void DispatchCompute(GPUVAddr code_addr) override;
|
|
|
|
void FlushAll() override;
|
|
|
|
void FlushAll() override;
|
|
|
@ -102,9 +101,6 @@ private:
|
|
|
|
void SetupGlobalMemory(u32 binding, const GLShader::GlobalMemoryEntry& entry, GPUVAddr gpu_addr,
|
|
|
|
void SetupGlobalMemory(u32 binding, const GLShader::GlobalMemoryEntry& entry, GPUVAddr gpu_addr,
|
|
|
|
std::size_t size);
|
|
|
|
std::size_t size);
|
|
|
|
|
|
|
|
|
|
|
|
/// Syncs all the state, shaders, render targets and textures setting before a draw call.
|
|
|
|
|
|
|
|
void Draw(bool is_indexed, bool is_instanced);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Configures the current textures to use for the draw command.
|
|
|
|
/// Configures the current textures to use for the draw command.
|
|
|
|
void SetupDrawTextures(std::size_t stage_index, const Shader& shader);
|
|
|
|
void SetupDrawTextures(std::size_t stage_index, const Shader& shader);
|
|
|
|
|
|
|
|
|
|
|
|