[Webkit-unassigned] [Bug 190029] New: [WHLSL] Add casts between vector types
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 26 22:30:39 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190029
Bug ID: 190029
Summary: [WHLSL] Add casts between vector types
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tdenney at apple.com
There are no cast operators that allow you to cast a vector (or matrix, for that matter) element-wise. For example:
operator int4(uint4 v)
{
return int4(int(v.x), int(v.y), int(v.z), int(v.w));
}
Metal supports these; I think they would be a useful utility to add to the standard library.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180927/4826d6b3/attachment.html>
More information about the webkit-unassigned
mailing list