Enable debug mode for now because stencil pattern is broken

This commit is contained in:
Maximilian Ammann 2022-01-29 15:05:59 +01:00
parent 7aab6b6482
commit 0b8d19c2c8

View File

@ -1,7 +1,7 @@
use wgpu::BufferAddress; use wgpu::BufferAddress;
pub const DEBUG_WIREFRAME: bool = false; pub const DEBUG_WIREFRAME: bool = false;
pub const DEBUG_STENCIL_PATTERN: bool = false; pub const DEBUG_STENCIL_PATTERN: bool = true;
pub const INDEX_FORMAT: wgpu::IndexFormat = wgpu::IndexFormat::Uint16; // Must match IndexDataType pub const INDEX_FORMAT: wgpu::IndexFormat = wgpu::IndexFormat::Uint16; // Must match IndexDataType
pub const VERTEX_BUFFER_SIZE: BufferAddress = 1024 * 1024 * 32; pub const VERTEX_BUFFER_SIZE: BufferAddress = 1024 * 1024 * 32;