mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 06:23:23 +09:00
[Magma] read texture images into server-owned tight reply bytes
This commit is contained in:
@@ -7766,6 +7766,7 @@ void main() {
|
||||
}
|
||||
|
||||
#include "WireFramebuffer.inc"
|
||||
#include "WireTextureReadback.inc"
|
||||
#include "WireColorBlit.inc"
|
||||
#include "WireDraw.inc"
|
||||
|
||||
@@ -11934,6 +11935,7 @@ void main() {
|
||||
VkDeviceSize offsets[4] = {};
|
||||
VkDeviceSize sizes[4] = {};
|
||||
for (SizeT i = 0; i < bufferCount; ++i) {
|
||||
if (!program->GetTransformFeedbackStride(static_cast<Uint>(i))) continue;
|
||||
auto& point = MGB_CTX->GetBufferBindingPoint(BufferTarget::TransformFeedback,
|
||||
static_cast<Uint>(i));
|
||||
const auto& bufferObject = point.GetBoundObject();
|
||||
|
||||
Reference in New Issue
Block a user