render: resolve GPU textures once per draw and sort by handle
RenderSceneGPU resolves each draw's texture while classifying it and sorts opaque draws by the texture handle instead of comparing paths; invalid draws are dropped before sorting. Bumps sdk (skin cache). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f03f63e700
commit
545cbb1e5d
@@ -148,6 +148,7 @@ private:
|
||||
int priority = 1;
|
||||
float depth = 0.0f;
|
||||
const Render3DDraw* draw = nullptr;
|
||||
SDL_GPUTexture* texture = nullptr; // resolved once per draw; also the opaque sort key
|
||||
};
|
||||
|
||||
float m_eye[3] = {0.0f, 0.0f, 0.0f};
|
||||
|
||||
Reference in New Issue
Block a user