This website requires JavaScript.
Explore
Help
Sign In
encounter
/
dawn-cmake
mirror of
https://github.com/encounter/dawn-cmake.git
Watch
1
Star
0
Fork
You've already forked dawn-cmake
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b8233deafe
dawn-cmake
/
test
/
tint
/
statements
/
assign
/
phony
/
uniform_buffer.wgsl.expecte...
9 lines
101 B
HLSL
Raw
Normal View
History
Unescape
Escape
[tint] do not emit space for binding group 0 D3D11 only supports HLSL SM5.0 which doesn't support `space` (binding group in WGSL). So for D3D11, only one binding group will be used, and tint will not emit `space` for HLSL, so shaders can be used with D3D11. Bug: dawn:1705 Change-Id: Ie0e9868137f10762c5243e188d76f5e41879c2bc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/125080 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com>
2023-03-31 17:55:19 +00:00
cbuffer
cbuffer_u
:
register
(
b0
)
{
Implement phony assignment Bug: tint:1213 Change-Id: Ib1ebc4947405c4ada7a9bdbc6bd5a36447bbd234 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67064 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-10-21 23:04:44 +00:00
uint4
u
[
1
]
;
}
;
[
numthreads
(
1
,
1
,
1
)
]
void
main
(
)
{
return
;
}