From 0654d8bbb724472da7d42065d6d4902b509f7dce Mon Sep 17 00:00:00 2001 From: Paul Kernfeld Date: Tue, 14 May 2019 21:29:31 -0400 Subject: [PATCH] [rs] Rename hello_ examples to hello- (#2) --- .../{hello_compute => hello-compute}/main.rs | 0 .../{hello_compute => hello-compute}/shader.comp | 0 .../shader.comp.spv | Bin .../{hello_triangle => hello-triangle}/main.rs | 0 .../{hello_triangle => hello-triangle}/shader.frag | 0 .../shader.frag.spv | Bin .../{hello_triangle => hello-triangle}/shader.vert | 0 .../shader.vert.spv | Bin wgpu/tests/multithreaded_compute.rs | 2 +- 9 files changed, 1 insertion(+), 1 deletion(-) rename wgpu/examples/{hello_compute => hello-compute}/main.rs (100%) rename wgpu/examples/{hello_compute => hello-compute}/shader.comp (100%) rename wgpu/examples/{hello_compute => hello-compute}/shader.comp.spv (100%) rename wgpu/examples/{hello_triangle => hello-triangle}/main.rs (100%) rename wgpu/examples/{hello_triangle => hello-triangle}/shader.frag (100%) rename wgpu/examples/{hello_triangle => hello-triangle}/shader.frag.spv (100%) rename wgpu/examples/{hello_triangle => hello-triangle}/shader.vert (100%) rename wgpu/examples/{hello_triangle => hello-triangle}/shader.vert.spv (100%) diff --git a/wgpu/examples/hello_compute/main.rs b/wgpu/examples/hello-compute/main.rs similarity index 100% rename from wgpu/examples/hello_compute/main.rs rename to wgpu/examples/hello-compute/main.rs diff --git a/wgpu/examples/hello_compute/shader.comp b/wgpu/examples/hello-compute/shader.comp similarity index 100% rename from wgpu/examples/hello_compute/shader.comp rename to wgpu/examples/hello-compute/shader.comp diff --git a/wgpu/examples/hello_compute/shader.comp.spv b/wgpu/examples/hello-compute/shader.comp.spv similarity index 100% rename from wgpu/examples/hello_compute/shader.comp.spv rename to wgpu/examples/hello-compute/shader.comp.spv diff --git a/wgpu/examples/hello_triangle/main.rs b/wgpu/examples/hello-triangle/main.rs similarity index 100% rename from wgpu/examples/hello_triangle/main.rs rename to wgpu/examples/hello-triangle/main.rs diff --git a/wgpu/examples/hello_triangle/shader.frag b/wgpu/examples/hello-triangle/shader.frag similarity index 100% rename from wgpu/examples/hello_triangle/shader.frag rename to wgpu/examples/hello-triangle/shader.frag diff --git a/wgpu/examples/hello_triangle/shader.frag.spv b/wgpu/examples/hello-triangle/shader.frag.spv similarity index 100% rename from wgpu/examples/hello_triangle/shader.frag.spv rename to wgpu/examples/hello-triangle/shader.frag.spv diff --git a/wgpu/examples/hello_triangle/shader.vert b/wgpu/examples/hello-triangle/shader.vert similarity index 100% rename from wgpu/examples/hello_triangle/shader.vert rename to wgpu/examples/hello-triangle/shader.vert diff --git a/wgpu/examples/hello_triangle/shader.vert.spv b/wgpu/examples/hello-triangle/shader.vert.spv similarity index 100% rename from wgpu/examples/hello_triangle/shader.vert.spv rename to wgpu/examples/hello-triangle/shader.vert.spv diff --git a/wgpu/tests/multithreaded_compute.rs b/wgpu/tests/multithreaded_compute.rs index 3b943346e8..045f16c382 100644 --- a/wgpu/tests/multithreaded_compute.rs +++ b/wgpu/tests/multithreaded_compute.rs @@ -25,7 +25,7 @@ fn multithreaded_compute() { }, }); - let cs_bytes = include_bytes!("../examples/hello_compute/shader.comp.spv"); + let cs_bytes = include_bytes!("../examples/hello-compute/shader.comp.spv"); let cs_module = device.create_shader_module(cs_bytes); let staging_buffer = device