@@ -3197,7 +3197,15 @@ interface GPUSupportedLimits {
31973197 readonly maxSampledTexturesPerShaderStage : number ;
31983198 readonly maxSamplersPerShaderStage : number ;
31993199 readonly maxStorageBuffersPerShaderStage : number ;
3200+ /** @todo Temporarily optional until all browsers have implemented it. */
3201+ readonly maxStorageBuffersInVertexStage ?: number ;
3202+ /** @todo Temporarily optional until all browsers have implemented it. */
3203+ readonly maxStorageBuffersInFragmentStage ?: number ;
32003204 readonly maxStorageTexturesPerShaderStage : number ;
3205+ /** @todo Temporarily optional until all browsers have implemented it. */
3206+ readonly maxStorageTexturesInVertexStage ?: number ;
3207+ /** @todo Temporarily optional until all browsers have implemented it. */
3208+ readonly maxStorageTexturesInFragmentStage ?: number ;
32013209 readonly maxUniformBuffersPerShaderStage : number ;
32023210 readonly maxUniformBufferBindingSize : number ;
32033211 readonly maxStorageBufferBindingSize : number ;
@@ -3218,14 +3226,6 @@ interface GPUSupportedLimits {
32183226 readonly maxComputeWorkgroupsPerDimension : number ;
32193227 /** **PROPOSED** in [Immediates](https://github.com/gpuweb/gpuweb/pull/5423). */
32203228 readonly maxImmediateSize ?: number ;
3221- /** **PROPOSED** in [Compatibility Mode](https://github.com/gpuweb/gpuweb/blob/main/proposals/compatibility-mode.md). */
3222- readonly maxStorageBuffersInVertexStage ?: number ;
3223- /** **PROPOSED** in [Compatibility Mode](https://github.com/gpuweb/gpuweb/blob/main/proposals/compatibility-mode.md). */
3224- readonly maxStorageBuffersInFragmentStage ?: number ;
3225- /** **PROPOSED** in [Compatibility Mode](https://github.com/gpuweb/gpuweb/blob/main/proposals/compatibility-mode.md). */
3226- readonly maxStorageTexturesInVertexStage ?: number ;
3227- /** **PROPOSED** in [Compatibility Mode](https://github.com/gpuweb/gpuweb/blob/main/proposals/compatibility-mode.md). */
3228- readonly maxStorageTexturesInFragmentStage ?: number ;
32293229}
32303230
32313231declare var GPUSupportedLimits : {
@@ -3280,6 +3280,18 @@ interface GPUTexture
32803280 * The allowed usages for this {@link GPUTexture}.
32813281 */
32823282 readonly usage : GPUFlagsConstant ;
3283+ /**
3284+ * On devices without "core-features-and-limits", views created from this
3285+ * texture must have this as their dimension.
3286+ *
3287+ * On devices with "core-features-and-limits", this is undefined, and there is
3288+ * no such restriction.
3289+ *
3290+ * @todo Temporarily optional until all browsers have implemented it.
3291+ */
3292+ readonly textureBindingViewDimension ?:
3293+ | GPUTextureViewDimension
3294+ | undefined ;
32833295}
32843296
32853297declare var GPUTexture : {
0 commit comments