mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
[wgsl]: s/texture_sampled_/texture_
These texture types were renamed in October 2020: https://github.com/gpuweb/gpuweb/pull/1180 Tint has supported both forms since November 2020: https://dawn-review.googlesource.com/c/tint/+/31380 Finally migrate to the new form so we can drop support for the old. Bug: tint:286 Change-Id: Id19b79be28152b3de163f9cce75eefff1ae31d76 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/37702 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
4607aa4c75
commit
cd9dc36d2e
@@ -58,7 +58,7 @@ namespace dawn_native {
|
||||
|
||||
static const char sPassthrough2D4ChannelFrag[] = R"(
|
||||
[[binding(1), set(0)]] var<uniform_constant> mySampler: sampler;
|
||||
[[binding(2), set(0)]] var<uniform_constant> myTexture: texture_sampled_2d<f32>;
|
||||
[[binding(2), set(0)]] var<uniform_constant> myTexture: texture_2d<f32>;
|
||||
[[location(0)]] var<in> v_texcoord : vec2<f32>;
|
||||
[[location(0)]] var<out> rgbaColor : vec4<f32>;
|
||||
[[stage(fragment)]] fn main() -> void {
|
||||
|
||||
Reference in New Issue
Block a user