mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 02:41:04 +00:00
Renamed vertex processor to loader
This commit is contained in:
parent
3ae7c5b23c
commit
1e4f8d6edf
@ -8,7 +8,7 @@ set(SRCS
|
||||
primitive_assembly.cpp
|
||||
rasterizer.cpp
|
||||
utils.cpp
|
||||
vertex_processor.cpp
|
||||
vertex_loader.cpp
|
||||
vertex_shader.cpp
|
||||
video_core.cpp
|
||||
)
|
||||
@ -29,7 +29,7 @@ set(HEADERS
|
||||
rasterizer.h
|
||||
renderer_base.h
|
||||
utils.h
|
||||
vertex_processor.h
|
||||
vertex_loader.h
|
||||
vertex_shader.h
|
||||
video_core.h
|
||||
)
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "common/profiler_reporting.h"
|
||||
|
||||
#include "video_core/clipper.h"
|
||||
#include "video_core/vertex_processor.h"
|
||||
#include "video_core/vertex_loader.h"
|
||||
#include "video_core/video_core.h"
|
||||
#include "video_core/renderer_opengl/renderer_opengl.h"
|
||||
#include "video_core/renderer_opengl/gl_shader_util.h"
|
||||
@ -347,5 +347,5 @@ void RendererOpenGL::ShutDown() {
|
||||
|
||||
/// Draw a batch of triangles
|
||||
void RendererOpenGL::DrawBatch(bool is_indexed) {
|
||||
Pica::VertexProcessor::ProcessBatch(is_indexed, Pica::Clipper::ProcessTriangle);
|
||||
Pica::VertexLoader::LoadBatch(is_indexed, Pica::Clipper::ProcessTriangle);
|
||||
}
|
||||
|
@ -5,16 +5,16 @@
|
||||
#include <boost/range/algorithm/fill.hpp>
|
||||
|
||||
#include "pica.h"
|
||||
#include "vertex_processor.h"
|
||||
#include "vertex_loader.h"
|
||||
#include "vertex_shader.h"
|
||||
#include "debug_utils/debug_utils.h"
|
||||
|
||||
namespace Pica {
|
||||
|
||||
namespace VertexProcessor {
|
||||
namespace VertexLoader {
|
||||
|
||||
/// Runs the current PICA vertex batch through the shader interpreter, and sends resulting primitives to triangle_handler
|
||||
void ProcessBatch(bool is_indexed, PrimitiveAssembler<VertexShader::OutputVertex>::TriangleHandler triangle_handler) {
|
||||
void LoadBatch(bool is_indexed, PrimitiveAssembler<VertexShader::OutputVertex>::TriangleHandler triangle_handler) {
|
||||
if (g_debug_context)
|
||||
g_debug_context->OnEvent(DebugContext::Event::IncomingPrimitiveBatch, nullptr);
|
||||
|
@ -8,10 +8,10 @@
|
||||
|
||||
namespace Pica {
|
||||
|
||||
namespace VertexProcessor {
|
||||
namespace VertexLoader {
|
||||
|
||||
/// Runs the current PICA vertex batch through the shader interpreter, and sends resulting primitives to triangle_handler
|
||||
void ProcessBatch(bool is_indexed, PrimitiveAssembler<VertexShader::OutputVertex>::TriangleHandler triangle_handler);
|
||||
void LoadBatch(bool is_indexed, PrimitiveAssembler<VertexShader::OutputVertex>::TriangleHandler triangle_handler);
|
||||
|
||||
} // namespace
|
||||
|
Loading…
Reference in New Issue
Block a user