mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Update Dawn tests to use group instead of set.
This Cl updates the WGSL used by Dawn to use the new `group` decoration instead of the deprecated `set` decoration. Change-Id: I145aaff7721dfafff986ddc429c9cdc9389c2110 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38141 Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
e45593cb08
commit
0f9c2d7b78
@@ -78,7 +78,7 @@ class SubresourceTrackingPerf : public DawnPerfTestWithParams<SubresourceTrackin
|
||||
)");
|
||||
pipelineDesc.cFragmentStage.module = utils::CreateShaderModuleFromWGSL(device, R"(
|
||||
[[location(0)]] var<out> FragColor : vec4<f32>;
|
||||
[[set(0), binding(0)]] var<uniform_constant> materials : texture_sampled_2d<f32>;
|
||||
[[group(0), binding(0)]] var<uniform_constant> materials : texture_sampled_2d<f32>;
|
||||
[[stage(fragment)]] fn main() -> void {
|
||||
FragColor = vec4<f32>(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user