@forgeax/engine-rhi-debug 0.1.20 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +14 -3
- package/dist/index.mjs.map +1 -1
- package/dist/recorder/device.d.ts.map +1 -1
- package/dist/recorder/encoder.d.ts.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/__tests__/bootstrap-integration.test.ts +0 -1
- package/src/__tests__/coverage-invariant.test-d.ts +6 -3
- package/src/__tests__/coverage-invariant.unit.test.ts +4 -6
- package/src/__tests__/recorder-fail-fast.unit.test.ts +0 -1
- package/src/__tests__/recorder-session.integration.test.ts +51 -1
- package/src/recorder/device.ts +3 -0
- package/src/recorder/encoder.ts +11 -3
- package/src/types.ts +5 -4
- package/dist/.tsbuildinfo +0 -1
package/dist/index.mjs
CHANGED
|
@@ -6897,6 +6897,17 @@ function createCommandEncoderProxy(s, realEnc, cmdHId) {
|
|
|
6897
6897
|
const realPass = realEnc.beginComputePass(desc);
|
|
6898
6898
|
return createComputePassProxy(s, realPass, passHId);
|
|
6899
6899
|
},
|
|
6900
|
+
encodeEmptyComputePass(desc) {
|
|
6901
|
+
const passHId = allocHandleId("computePass");
|
|
6902
|
+
pushEvent(s, {
|
|
6903
|
+
kind: "beginComputePass",
|
|
6904
|
+
cmdHandleId: cmdHId,
|
|
6905
|
+
passHandleId: passHId,
|
|
6906
|
+
desc
|
|
6907
|
+
});
|
|
6908
|
+
realEnc.encodeEmptyComputePass(desc);
|
|
6909
|
+
pushEvent(s, { kind: "endComputePass", passHandleId: passHId });
|
|
6910
|
+
},
|
|
6900
6911
|
// Passthrough copy/clear methods (event recording added where types permit)
|
|
6901
6912
|
copyBufferToBuffer(...args) {
|
|
6902
6913
|
if (typeof args[1] === "number") {
|
|
@@ -7018,9 +7029,6 @@ function createCommandEncoderProxy(s, realEnc, cmdHId) {
|
|
|
7018
7029
|
destinationOffset
|
|
7019
7030
|
);
|
|
7020
7031
|
},
|
|
7021
|
-
writeTimestamp(querySet, queryIndex) {
|
|
7022
|
-
realEnc.writeTimestamp(querySet, queryIndex);
|
|
7023
|
-
},
|
|
7024
7032
|
pushDebugGroup(groupLabel) {
|
|
7025
7033
|
pushEvent(s, { kind: "pushDebugGroup", cmdHandleId: cmdHId, groupLabel });
|
|
7026
7034
|
realEnc.pushDebugGroup(groupLabel);
|
|
@@ -7140,6 +7148,9 @@ function createDeviceProxy(s, realDevice) {
|
|
|
7140
7148
|
get limits() {
|
|
7141
7149
|
return realDevice.limits;
|
|
7142
7150
|
},
|
|
7151
|
+
probeTextureFormatCapability() {
|
|
7152
|
+
return realDevice.probeTextureFormatCapability();
|
|
7153
|
+
},
|
|
7143
7154
|
get queue() {
|
|
7144
7155
|
return proxiedQueue;
|
|
7145
7156
|
},
|