mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Make examples and utils use webgpu.h
BUG=dawn:22 Change-Id: I602d6a3422b493d199f3fded61ff1666bc2d9d7d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12702 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
9f90c8d3ca
commit
04863c42be
@@ -12,8 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <dawn/dawncpp.h>
|
||||
#include <dawn/dawn_wsi.h>
|
||||
#include <dawn/webgpu_cpp.h>
|
||||
|
||||
bool InitSample(int argc, const char** argv);
|
||||
void DoFlush();
|
||||
@@ -22,8 +22,8 @@ bool ShouldQuit();
|
||||
struct GLFWwindow;
|
||||
struct GLFWwindow* GetGLFWWindow();
|
||||
|
||||
dawn::Device CreateCppDawnDevice();
|
||||
wgpu::Device CreateCppDawnDevice();
|
||||
uint64_t GetSwapChainImplementation();
|
||||
dawn::TextureFormat GetPreferredSwapChainTextureFormat();
|
||||
dawn::SwapChain GetSwapChain(const dawn::Device& device);
|
||||
dawn::TextureView CreateDefaultDepthStencilView(const dawn::Device& device);
|
||||
wgpu::TextureFormat GetPreferredSwapChainTextureFormat();
|
||||
wgpu::SwapChain GetSwapChain(const wgpu::Device& device);
|
||||
wgpu::TextureView CreateDefaultDepthStencilView(const wgpu::Device& device);
|
||||
|
||||
Reference in New Issue
Block a user