mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 01:53:24 +09:00
[Refactor] (P13 W5 S3): Magma's wire texture and vertex-input builders and the buffer shadow size follow the record-arm guard.
This commit is contained in:
@@ -3150,7 +3150,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
|
||||
}
|
||||
}
|
||||
|
||||
#if MOBILEGL_BUILD_DISAGGREGATED
|
||||
#if MOBILEGL_BUILD_RECORD_ARM
|
||||
Bool UniformManager::PrepareWireTextureResources(const MagmaProgramSource& program,
|
||||
const ProgramFactory::VkProgramObject& programObj) {
|
||||
if (!program.IsWire()) return true;
|
||||
|
||||
@@ -393,7 +393,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
|
||||
return entry;
|
||||
}
|
||||
|
||||
#if MOBILEGL_BUILD_DISAGGREGATED
|
||||
#if MOBILEGL_BUILD_RECORD_ARM
|
||||
Bool VertexInputStateFactory::BuildWireVertexInput(const MG_Pipe::MGPipeVertexElementsRecord& elements,
|
||||
const MG_Pipe::MGPipeApplierState& state, Uint32 activeMask, BackendVertexInputState& out) const {
|
||||
out = BackendVertexInputState{};
|
||||
|
||||
@@ -991,7 +991,7 @@ namespace MobileGL::MG_State::GLState {
|
||||
return m_resource.Bytes();
|
||||
}
|
||||
|
||||
#if MOBILEGL_BUILD_DISAGGREGATED
|
||||
#if MOBILEGL_BUILD_RECORD_ARM
|
||||
SizeT BufferObject::ShadowAllocationBytes() const {
|
||||
// The extent of the very pointer MappedData() hands out, read by the same caller
|
||||
// (the tracker's registration) on the same thread: the same rule-E surface, the
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
open | MobileGL/MG_Backend/DirectVulkan/Renderer/UniformManager.cpp | Bool UniformManager::PrepareWireTextureResources(
|
||||
open | MobileGL/MG_Backend/DirectVulkan/Renderer/VertexInputStateFactory.cpp | Bool VertexInputStateFactory::BuildWireVertexInput(
|
||||
open | MobileGL/MG_State/GLState/BufferState/BufferObject.cpp | SizeT BufferObject::ShadowAllocationBytes() const {
|
||||
Reference in New Issue
Block a user