Enables maxColorAttachmentBytesPerSample in Dawn node.
Bug: dawn:1522 Change-Id: Iaccbffbc8ac641d407491bdd8ef0b0f2c9cba309 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113901 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
5646acbd71
commit
eaeded4971
|
@ -80,7 +80,7 @@ std::vector<std::string> Split(const std::string& s, char delim) {
|
|||
X(maxVertexBufferArrayStride) \
|
||||
X(maxInterStageShaderComponents) \
|
||||
X(maxColorAttachments) \
|
||||
/* X(maxColorAttachmentBytesPerSample) */ \
|
||||
X(maxColorAttachmentBytesPerSample) \
|
||||
X(maxComputeWorkgroupStorageSize) \
|
||||
X(maxComputeInvocationsPerWorkgroup) \
|
||||
X(maxComputeWorkgroupSizeX) \
|
||||
|
|
|
@ -121,8 +121,7 @@ uint32_t GPUSupportedLimits::getMaxColorAttachments(Napi::Env) {
|
|||
}
|
||||
|
||||
uint32_t GPUSupportedLimits::getMaxColorAttachmentBytesPerSample(Napi::Env) {
|
||||
UNIMPLEMENTED();
|
||||
// return limits_.limits.maxColorAttachmentBytesPerSample;
|
||||
return limits_.limits.maxColorAttachmentBytesPerSample;
|
||||
}
|
||||
|
||||
uint32_t GPUSupportedLimits::getMaxComputeWorkgroupStorageSize(Napi::Env) {
|
||||
|
|
Loading…
Reference in New Issue