Skip to content

Commit 161bca3

Browse files
committed
Remove leftover webgpu define in rasterize
1 parent 8b6c120 commit 161bca3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/brush-render/src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ impl SplatForward<Self> for MainBackendBase {
342342

343343
// Compile the kernel, including/excluding info for backwards pass.
344344
// see the BWD_INFO define in the rasterize shader.
345-
let raster_task = Rasterize::task(bwd_info, cfg!(target_family = "wasm"));
345+
let raster_task = Rasterize::task(bwd_info);
346346

347347
// SAFETY: Kernel checked to have no OOB, bounded loops.
348348
unsafe {

crates/brush-render/src/shaders.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub struct MapGaussiansToIntersect {
2020
#[wgsl_kernel(source = "src/shaders/rasterize.wgsl")]
2121
pub struct Rasterize {
2222
pub bwd_info: bool,
23-
pub webgpu: bool,
2423
}
2524

2625
// Re-export helper types and constants from the kernel modules that use them

0 commit comments

Comments
 (0)