Bindless textures: verdict on a real GPU for divergent indices in compute (P1.4c2a)

Open
#32 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript, web-dev

Research direction

Start with the bindless-check command and run lookup, render, and timing=1 on an RTX 3060 in Chrome D3D12 and dawn.node Vulkan, enabling dump_shaders. Check whether divergent compute lookups are correct and whether Dawn emits NonUniformResourceIndex or NonUniform; compare table timing with the size-bucket arrays only if lookups pass. Metal testing depends on Dawn supporting tables in compute passes.

Written by the indexing model from the issue text.

Description

enhancement

Task: P1.4c2a · Setting: TextureOptions.binding: 'table' (chromium-experimental-sampling-resource-table)

The bindless path is built for the megakernel and checked on SwiftShader, but SwiftShader takes the table index from lane 0 of each subgroup (a Dawn-Vulkan / SwiftShader bug: no NonUniform decoration), and Metal fails any compute pass that sets a table. So there is still no verdict on a real GPU for divergent indices in compute.

Next step

On the RTX 3060: bindless-check (lookup + render + timing=1) in Chrome D3D12 and in dawn.node Vulkan, with dump_shaders to see whether Dawn emits NonUniformResourceIndex / NonUniform. Metal once Dawn supports tables in compute passes.

Only if the lookups are correct there: time table against the size-bucket arrays (P1.4c4, QUIET-PASS) to decide whether bindless is worth keeping.

Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
15h 19m
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pmndrs/pathtracer

All issues in pmndrs/pathtracer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.