Bug 177120 - [WSL] Cannot put templated structs inside structs
Summary: [WSL] Cannot put templated structs inside structs
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Filip Pizlo
Keywords: InRadar
Depends on:
Blocks: 176199
  Show dependency treegraph
Reported: 2017-09-18 20:07 PDT by Myles C. Maxfield
Modified: 2018-10-13 19:38 PDT (History)
2 users (show)

See Also:

the patch (9.40 KB, patch)
2017-09-18 21:11 PDT, Filip Pizlo
mmaxfield: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2017-09-18 20:07:57 PDT
>>> prepare("/internal/test", 0, "struct Bar<T> { T x; } struct Foo { Bar<int> x; }")
Exception: Error: Cannot determine if an uninstantiated type is primitive
Comment 1 Filip Pizlo 2017-09-18 21:09:35 PDT
Oh man, type instantiation is so confusing.
Comment 2 Filip Pizlo 2017-09-18 21:11:00 PDT
Created attachment 321180 [details]
the patch
Comment 3 Filip Pizlo 2017-09-18 21:16:21 PDT
Landed in https://trac.webkit.org/changeset/222201/webkit
Comment 4 Radar WebKit Bug Importer 2017-09-27 12:28:43 PDT
Comment 5 Myles C. Maxfield 2018-10-13 19:38:38 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/183