[GL-C1] LLGPUInfo from Vulkan #70
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope: Fill vendor, renderer, driver, VRAM, max texture size and anisotropy from
VkPhysicalDeviceProperties/limits/memory budget before feature masking. MovegGLManagerreaders (about box, stats, media, texture budget,llfeaturemanager.cpp:429-489,788-813) to it.Prereq: —
Acceptance: About box correct. The GPU class is computed rather than hard-set to 5. Texture budget unchanged.
Risk: med
Shared acceptance baseline: links; logs in under VK and renders prims/mesh/rigged/terrain/water/sky/particles; click-select object/avatar/attachment; region crossing + teleport; no
GLSL Compilation Error|SIGSEGVin the log.Source: research/gl_removal_map.md
Status check (verification sweep): partly done. Under VK, llappviewer.cpp (~3760) fills gGLManager.mGLRenderer/mGLVendor/mVRAM from the Vulkan device, and the first-run preset is picked from the GPU (
6ff89363c8). Remaining: there's no LLGPUInfo; readers still go through gGLManager (62 refs in 14 files); LLFeatureManager::loadGPUClass still hard-sets mGPUClass = GPU_CLASS_5 (llfeaturemanager.cpp:384).Verified against forgejo/main (v1.2.0,
55f4242518); GL deletion inef8365e45f(gl-delete merge),52c3662a76,547061ef34,5f9502cf69. gGLManager is gone. LLGPUInfo (llrender/llgpuinfo.h, gGPUInfo) is filled by the Vulkan bring-up from VkPhysicalDeviceProperties/limits/memory heaps (vendor, renderer, API/driver version, VRAM, max texture size, anisotropy; llappviewer.cpp ~4160-4210). GPU class is computed from integrated/hw-RT/VRAM (llappviewer.cpp:4225-4231, LLFeatureManager::setVulkanGPU) and base masks are re-applied with the real device (applyBaseMasks). Owner verified About box GPU info on 1.2.0.