Bug 261890
| Summary: | [WebGPU] fragmentWriteGBuffers.wgsl does not compile | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | Tadeu Zagallo <tzagallo> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Wyrzykowski
fragmentWriteGBuffers.wgsl from https://webgpu.github.io/webgpu-samples/samples/deferredRendering#fragmentWriteGBuffers.wgsl does not compile because it writes to multiple render targets and the locations are not specified.
I.e., in the generated output:
struct type0 {
vec<float, 4> normal ;
vec<float, 4> albedo ;
};
should be:
struct type0 {
vec<float, 4> normal [[color(0)]];
vec<float, 4> albedo [[color(1)]];
};
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/115849432>
Tadeu Zagallo
Pull request: https://github.com/WebKit/WebKit/pull/18159
EWS
Committed 268436@main (255232f837a9): <https://commits.webkit.org/268436@main>
Reviewed commits have been landed. Closing PR #18159 and removing active labels.