mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-16 10:59:46 +12:00
rename files
This commit is contained in:
parent
a08d61ad46
commit
9527c2acdb
7 changed files with 12 additions and 7 deletions
|
@ -403,12 +403,18 @@ endif()
|
|||
|
||||
if(ENABLE_METAL AND APPLE)
|
||||
set(RENDERER_MTL_INCLUDE_FILES include/renderer_mtl/renderer_mtl.hpp
|
||||
include/renderer_mtl/mtl_depth_stencil_cache.hpp
|
||||
include/renderer_mtl/mtl_pipeline_cache.hpp
|
||||
include/renderer_mtl/mtl_render_target.hpp
|
||||
include/renderer_mtl/mtl_texture.hpp
|
||||
include/renderer_mtl/mtl_vertex_buffer_cache.hpp
|
||||
include/renderer_mtl/pica_to_mtl.hpp
|
||||
)
|
||||
|
||||
set(RENDERER_MTL_SOURCE_FILES src/core/renderer_mtl/metal_cpp_impl.cpp
|
||||
src/core/renderer_mtl/renderer_mtl.cpp
|
||||
src/core/renderer_mtl/texture.cpp
|
||||
src/core/renderer_mtl/etc1.cpp
|
||||
src/core/renderer_mtl/mtl_texture.cpp
|
||||
src/core/renderer_mtl/mtl_etc1.cpp
|
||||
src/host_shaders/metal_shaders.metal
|
||||
)
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#include <QuartzCore/QuartzCore.hpp>
|
||||
|
||||
#include "renderer.hpp"
|
||||
#include "texture.hpp"
|
||||
#include "render_target.hpp"
|
||||
#include "mtl_texture.hpp"
|
||||
#include "mtl_render_target.hpp"
|
||||
#include "mtl_pipeline_cache.hpp"
|
||||
#include "mtl_depth_stencil_cache.hpp"
|
||||
#include "mtl_vertex_buffer_cache.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include <algorithm>
|
||||
#include "colour.hpp"
|
||||
#include "renderer_mtl/renderer_mtl.hpp"
|
||||
#include "renderer_mtl/texture.hpp"
|
||||
#include "renderer_mtl/mtl_texture.hpp"
|
||||
|
||||
using namespace Helpers;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "renderer_mtl/texture.hpp"
|
||||
#include "renderer_mtl/mtl_texture.hpp"
|
||||
#include "colour.hpp"
|
||||
#include <array>
|
||||
|
|
@ -404,7 +404,6 @@ void RendererMTL::drawVertices(PICA::PrimType primType, std::span<const PICA::Ve
|
|||
renderCommandEncoder->setVertexBytes(®s[0x48], 0x200 - 0x48, 0);
|
||||
renderCommandEncoder->setFragmentBytes(®s[0x48], 0x200 - 0x48, 0);
|
||||
|
||||
// TODO: respect primitive type
|
||||
renderCommandEncoder->drawPrimitives(toMTLPrimitiveType(primType), NS::UInteger(0), NS::UInteger(vertices.size()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue