Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Mar 14, 2020


💥 Error: write EPROTO 140049978214272:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:../deps/openssl/openssl/ssl/s23_clnt.c:772:

💥 ###

PR Preview failed to build. (Last tried on Mar 14, 2020, 3:05 AM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

🚨 HTML Diff Service - The HTML Diff Service is used to create HTML diffs of the spec changes suggested in a pull request.

🔗 Related URL

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.


* {{GPUTextureViewDescriptor/arrayLayerCount}}:
If 0, defaults to |texture|.{{GPUTextureDescriptor/arrayLayerCount}} − {{GPUTextureViewDescriptor/baseArrayLayer}}.
If 0, defaults to |texture|.{{GPUTextureDescriptor/size}}.[=Extent3D/depth=] − {{GPUTextureViewDescriptor/baseArrayLayer}}.
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be confusing for the cube arrays. We can't say that the view array count defaults to the depth in this case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved in meeting, this is an orthogonal issue and we'll open a new issue.


- {{GPUQueue/copyImageBitmapToTexture()}}:
- For now, `copySize.z` must be `1`.
- For now, {{GPUQueue/copyImageBitmapToTexture(source, destination, copySize)/copySize}}.[=Extent3D/depth=] must be `1`.
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

Copy link
Contributor

@JusSn JusSn left a comment

Choose a reason for hiding this comment

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

LGTM pending addressing @kvark's comment

@kvark
Copy link
Contributor

kvark commented Apr 13, 2020

@kainino0x how does one create a 1D array texture now? Do they pass the layer count as height or as depth?

@kainino0x
Copy link
Contributor Author

Good question. We don't have 1d-array texture views in the spec right now so I'm not sure whether it's supposed to be possible in core, but I can't think of a strong argument to choose either over the other.

@kvark
Copy link
Contributor

kvark commented Apr 13, 2020

I wonder if we have documented the reason somewhere why 1D array views are not a good idea.

bors bot added a commit to gfx-rs/wgpu that referenced this pull request Apr 13, 2020
577: Remove array layer count from texture descriptor r=grovesNL a=kvark

Matches gpuweb/gpuweb#613

Co-authored-by: Dzmitry Malyshau <[email protected]>
@kainino0x
Copy link
Contributor Author

I think it was an accident. I suspect the texture view dimension list was copied from Dawn where we had never tried to implement it (still haven't).

See #90

@kvark
Copy link
Contributor

kvark commented Apr 13, 2020

Filed #699

@kainino0x
Copy link
Contributor Author

@kainino0x how does one create a 1D array texture now? Do they pass the layer count as height or as depth?

For the version where we take sequence instead of dictionary, it should be [width, array layers]. I still have no strong argument for the dictionary version.

This wouldn't be a problem if we only accepted the sequence (as I have advocated) ;)

kainino0x added a commit to kainino0x/gpuweb that referenced this pull request Apr 28, 2020
Similar to what was done for GPUTextureDescriptor in gpuweb#613, I just missed
it.
JusSn pushed a commit that referenced this pull request May 11, 2020
* Merge GPUTextureCopyView.arrayLayer into .origin.z

Similar to what was done for GPUTextureDescriptor in #613, I just missed
it.

* update more text as needed

* address comments
haoxli pushed a commit to haoxli/gpuweb that referenced this pull request May 12, 2020
* Merge GPUTextureCopyView.arrayLayer into .origin.z

Similar to what was done for GPUTextureDescriptor in gpuweb#613, I just missed
it.

* update more text as needed

* address comments
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
* Merge GPUTextureCopyView.arrayLayer into .origin.z

Similar to what was done for GPUTextureDescriptor in gpuweb#613, I just missed
it.

* update more text as needed

* address comments
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
* Merge GPUTextureCopyView.arrayLayer into .origin.z

Similar to what was done for GPUTextureDescriptor in gpuweb#613, I just missed
it.

* update more text as needed

* address comments
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