Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comment-only change: the comments that explain a workaround for an NSGo problem now name the upstream issue, so the workaround can be found and removed once NSGo fixes it. No behaviour change.
Existing comments got
(nsgo-dev/nsgo#NNNN)appended to the sentence that gives the NSGo cause; workarounds without such a comment got a one-line comment naming the issue.render3d/fog.go,render3d/skybox.go(env_brdf_approx),render3d/clustered.go,render3d/tonemap.go(fast_log2_agx and the AgX shader note),render3d/lightmap.go-> gpu: the software device evaluates exp, exp2, log, log2, atan and other WGSL builtins as 0 nsgo#2334render3d/aa.go(FXAA XOR),render3d/tonemap.go(sanitize_hdr NaN test) -> gpu: software device compares NaN as equal to everything and ignores bool operands in == / != nsgo#2335render3d/skin.go(palette at the first free group, new comment) -> gpu: PipelineDesc.Layouts refuses nil entries, so a pipeline cannot leave an unused bind group slot empty as WebGPU allows nsgo#2337render3d/material.go(MaterialDefaults.UnlitLayout) -> gpu: BindGroupLayoutDesc has no Retained, so a layout nothing retained uses is not restored after device loss nsgo#2338render3d/viewport.go(RenderTextureowner child scope) -> gpu: closing a resource leaves its cleanup on the scope (and its entry in the retained lists), so recreating render targets on resize grows them without bound nsgo#2339render3d/custom_material.go(scalar after vec3 refused) -> msl: pipeline structs lay out vec3<f32> as float3, so a scalar after a vec3 in a uniform or storage buffer is read 4 bytes late on Metal nsgo#2340render3d/post3d.go(postDestFormat, new comment) -> gpu: SetPipeline does not check the pipeline's colour target formats against the pass attachments nsgo#2341assets/reload.go(runReloadswaits on the engine goroutine, new comment) -> automation: app tool handlers can only answer synchronously on the graph goroutine, so a tool cannot wait for Post, LoadSound or other deferred results nsgo#2342mcp/screenshot.go(png_base64, new comment) -> nsgo mcp: app-defined tools (automation.Register) cannot return an image; their PNG reaches the agent as base64 text nsgo#2343render3d/skybox.go(depth 1 - 2^-24),render3d/local_shadows_test.go(subdivided quads) -> gpu: the software renderer does not clip in clip space, so far-plane fragments are lost to rounding and triangles crossing the near plane vanish nsgo#2344render3d/viewport.go(ViewportRenderer.RenderEncodertakes dev) -> gpu: Encoder has no Device() accessor, so helpers that take only an encoder cannot detect a restored device nsgo#2345Tests
gofmt -l .is emptygo tool nsgo check -target linux,webfor./render3d,./mcpand./assetsgo tool nsgo test ./render3d(some edited comments sit inside WGSL sources): 359 passedScreenshots
None.