msl: Default the sample mask config parameter
This is needed to roll Tint into Dawn, and makes sense for this to be optional anyway. Bug: tint:387 Change-Id: Ia3a42f8add36dfba954dd0a5e06f2f84d8e95464 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55684 Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
e0cc771e0a
commit
ae0bf04ad2
|
@ -33,7 +33,8 @@ class Msl : public Transform {
|
|||
/// Constructor
|
||||
/// @param buffer_size_ubo_idx the index to use for the buffer size UBO
|
||||
/// @param sample_mask the fixed sample mask to use for fragment shaders
|
||||
explicit Config(uint32_t buffer_size_ubo_idx, uint32_t sample_mask);
|
||||
explicit Config(uint32_t buffer_size_ubo_idx,
|
||||
uint32_t sample_mask = 0xFFFFFFFF);
|
||||
|
||||
/// Copy constructor
|
||||
Config(const Config&);
|
||||
|
|
Loading…
Reference in New Issue