mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Complete the sampler object to match WebGPU
WebGPUSampler is much more complete than Dawn's Sampler. This patch implement the missing part. BUG=dawn:47 Change-Id: Ief45cb9710493e9d79ddab60fe3be5a123b76ebd Reviewed-on: https://dawn-review.googlesource.com/c/3540 Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
ea56333c1e
commit
93158ebede
@@ -27,4 +27,8 @@ static constexpr uint32_t kNumStages = 3;
|
||||
static constexpr uint32_t kMaxColorAttachments = 4u;
|
||||
static constexpr uint32_t kTextureRowPitchAlignment = 256u;
|
||||
|
||||
// Non spec defined constants.
|
||||
static constexpr float kLodMin = 0.0;
|
||||
static constexpr float kLodMax = 1000.0;
|
||||
|
||||
#endif // COMMON_CONSTANTS_H_
|
||||
|
||||
Reference in New Issue
Block a user