mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 14:33:24 +09:00
[MG_Pipe, MG_Test] (Disaggregated): P5f fe - derive scalar forwards and ratchet Espryt fatals
This commit is contained in:
@@ -2117,6 +2117,18 @@ namespace MobileGL::MG_Pipe {
|
||||
#endif
|
||||
|
||||
SizeT PipeInputs::GetBufferBindingPointCount(BufferTarget target) const {
|
||||
#if MOBILEGL_BUILD_DISAGGREGATED
|
||||
if (MG_Config::Transport != MG_Config::TransportMode::Monolith) {
|
||||
switch (target) {
|
||||
case BufferTarget::Uniform:
|
||||
case BufferTarget::ShaderStorage:
|
||||
case BufferTarget::AtomicCounter:
|
||||
case BufferTarget::TransformFeedback:
|
||||
return kMGPipeMaxBufferBindingPoints;
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
MGP_STICKY_FORWARD_PULL(GetBufferBindingPointCount);
|
||||
const auto* ctx = LiveContext();
|
||||
return ctx != nullptr ? ctx->GetBufferBindingPointCount(target) : 0;
|
||||
|
||||
Reference in New Issue
Block a user