Skip to content

Conversation

@kvark
Copy link
Contributor

@kvark kvark commented Oct 21, 2020

Copy link
Contributor

@Kangz Kangz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except that the commit message mentions uniform instead of storage

@kvark kvark changed the title Add maxUniformBufferBindingSize limit Add maxStorageBufferBindingSize limit Oct 21, 2020
Co-authored-by: Kai Ninomiya <[email protected]>
@kvark kvark merged commit 13d58e9 into gpuweb:main Oct 23, 2020
@kvark kvark deleted the storage-size branch October 23, 2020 17:12
bors bot added a commit to gfx-rs/wgpu that referenced this pull request Mar 2, 2021
1241: Update Extent3d::depth and Limits to latest upstream r=grovesNL a=kvark

**Connections**
- gpuweb/gpuweb#1390
- gpuweb/gpuweb#1328
- gpuweb/gpuweb#1163
- gpuweb/gpuweb#1274

**Description**
Just an API update up to spec.

**Testing**
Tested on wgpu-rs examples

Co-authored-by: Dzmitry Malyshau <[email protected]>
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
…eb#1163)

The shader execution zero init tests produce large nested loops on
constant indices that are very tempting for drivers to unroll. This
commit prevents unrolling by adding zero to the loop bound using a zero
coming from a uniform buffer. This is not known to the shader compiler
which then can't optimize as much.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants