options.cubeSourceCopy: sample the GGX levels from a copy of the source chain bound only as
'cube' (default: on for compatibility-mode devices, which need it, off otherwise; D4100).
ReadonlylayoutReadonlymaxReadonlyscratchrgba16float, one probe of the layout (layersPerProbe layers, every mip): the last result.
ReadonlysizeReadonlysourceCopies scratch into probe slot slot of target (rgba16float, the layout's descriptor).
Prefilter + copy into slot slot of an rgba16float target.
Records the prefilter of source (a cube texture of sourceSize px faces) into scratch. With
remap (a capture transform's face remap, ../capture.ts), the source is read in through it
instead of copied.
OptionaltimestampWrites: GPUComputePassTimestampWritesOptionalremap: {
Prefilters captured cubes (faces of
sourceSizepx, mip 0 read) into one probe oflayoutatsizepx (mip 0 face, or octa side). The roughness levels are the layout's mips (layout.mipLevelCount - 1= maxLod, normallymaxLodFor(sourceSize)).