@luma.gl/engine 9.4.0-beta.3 → 9.4.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -8857,6 +8857,8 @@ var WGSLShaderAssembler = class _WGSLShaderAssembler extends ShaderAssembler {
|
|
|
8857
8857
|
const limits = platformInfo.limits || {};
|
|
8858
8858
|
return {
|
|
8859
8859
|
LUMA_SUPPORTS_VERTEX_STORAGE_BUFFERS: platformInfo.type === "webgpu" && (limits["maxStorageBuffersInVertexStage"] || 0) > 0,
|
|
8860
|
+
// Native tan() does not provide enough precision on all WebGPU implementations.
|
|
8861
|
+
LUMA_FP32_TAN_PRECISION_WORKAROUND: platformInfo.type === "webgpu" && platformInfo.gpu.toLowerCase() !== "nvidia" && platformInfo.gpu.toLowerCase() !== "amd",
|
|
8860
8862
|
// Metal may reassociate the floating-point transforms used by classic
|
|
8861
8863
|
// double-single arithmetic. The integer path makes each rounding point
|
|
8862
8864
|
// explicit while preserving the public vec2<f32> representation.
|