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>
diff --git a/src/dawn/node/binding/GPUAdapter.cpp b/src/dawn/node/binding/GPUAdapter.cpp
index 73c8c11..f47b5cd 100644
--- a/src/dawn/node/binding/GPUAdapter.cpp
+++ b/src/dawn/node/binding/GPUAdapter.cpp
@@ -80,7 +80,7 @@
     X(maxVertexBufferArrayStride)                \
     X(maxInterStageShaderComponents)             \
     X(maxColorAttachments)                       \
-    /* X(maxColorAttachmentBytesPerSample) */    \
+    X(maxColorAttachmentBytesPerSample)          \
     X(maxComputeWorkgroupStorageSize)            \
     X(maxComputeInvocationsPerWorkgroup)         \
     X(maxComputeWorkgroupSizeX)                  \
diff --git a/src/dawn/node/binding/GPUSupportedLimits.cpp b/src/dawn/node/binding/GPUSupportedLimits.cpp
index 31682ad..c68e98e 100644
--- a/src/dawn/node/binding/GPUSupportedLimits.cpp
+++ b/src/dawn/node/binding/GPUSupportedLimits.cpp
@@ -121,8 +121,7 @@
 }
 
 uint32_t GPUSupportedLimits::getMaxColorAttachmentBytesPerSample(Napi::Env) {
-    UNIMPLEMENTED();
-    // return limits_.limits.maxColorAttachmentBytesPerSample;
+    return limits_.limits.maxColorAttachmentBytesPerSample;
 }
 
 uint32_t GPUSupportedLimits::getMaxComputeWorkgroupStorageSize(Napi::Env) {