SPDX license update
This commit is contained in:
parent
a879c834c7
commit
42a479572d
181 changed files with 1328 additions and 1392 deletions
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// RTStress closest-hit (runs in SHADE). Computes flat-shaded Lambert from
|
||||
// the hit triangle's geometric normal, accumulates ambient, and — if the
|
||||
// surface faces the sun — emits a shadow ray toward the sun. The shadow
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// RayQueryPick — regression test for the WebGPU software ray-query shim.
|
||||
//
|
||||
// Builds an 8³ = 512-instance TLAS (well below the 8193 threshold where a
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// RTStress miss (runs in SHADE). Primary miss → sky gradient. Shadow miss
|
||||
// → the sun is unoccluded, so add the pending direct contribution.
|
||||
fn miss_main(ray: RayDesc, payload: ptr<function, Payload>) {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
import std;
|
||||
import Crafter.Build;
|
||||
namespace fs = std::filesystem;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// RTStress raygen (runs in GENERATE). Host-driven pinhole camera at
|
||||
// @group(3) (groups 0..2 are reserved by the wavefront pipeline:
|
||||
// 0 = WfParams, 1 = data heaps, 2 = indirect args).
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// rayQuery picking smoke test (WebGPU/DOM software ray-query path).
|
||||
//
|
||||
// Shoots a single, fully-determined ray at a known TLAS instance through
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
//SPDX-License-Identifier: MIT
|
||||
//SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// RTStress RESOLVE-stage tonemap: Reinhard + gamma 2.2 over the linear
|
||||
// accumulator. Registered as a WebGPURTStage::Resolve shader.
|
||||
fn resolve_main(coord: vec2<u32>, hdr: vec4<f32>) -> vec4<f32> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue