Skip to content

getConvergentIndexWGSL

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/webgpu/wgsl/gpu/getConvergentIndexWGSL.ts for the most up-to-date information.

Overview

Returns the bit-reversed version of the given value, such that it is sufficient for the convergent-indexed reduce.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Type getConvergentIndexWGSLOptions

import type { getConvergentIndexWGSLOptions } from 'scenerystack/alpenglow';

Source Code

See the source for getConvergentIndexWGSL.ts in the alpenglow repository.