Open Roy23011 opened 4 hours ago
Hello !
We now need to specify a depthSlice
in the WGPURenderPassColorAttachment
object. This branch is a bit outdated, let me know if it is the only issue in there, I'll update then!
@eliemichel Thanks It's working now after adding depthSlice in the WGPURenderPassColorAttachment object.
Hello,
I downloaded the code from the following GitHub repository: LearnWebGPU-Code (step095-emscripten) https://github.com/eliemichel/LearnWebGPU-Code/tree/step095-emscripten
int main(int, char**) { Application app; app.onInit(); std::cout<<"After onInit function :: "<<std::endl;
ifdef EMSCRIPTEN
endif
}
After building the WebGPU project in WebAssembly, I encountered an error after printing “After calling onFrame function” cout message from the above code, getting error as shown on the screen while browsing to http://localhost:8000/App.html.
How can I fix this error? Could anyone please help me with this?