diff options
| author | Connor Thomson <blumatrikz@gmail.com> | 2026-09-10 19:39:55 -0700 |
|---|---|---|
| committer | Connor Thomson <blumatrikz@gmail.com> | 2026-09-10 19:39:55 -0700 |
| commit | f0c9432a7ceffa42b7401bd9dc2f924292b07bff (patch) | |
| tree | 9ae62e44d7cc421e54133c7839124f994a2803fb /src | |
| parent | 90ae917c55829d889c7212b0b4d26e4ff6135122 (diff) | |
Update formatting in gpu.c a little bit more
Diffstat (limited to 'src')
| -rw-r--r-- | src/gpu.c | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -27,20 +27,21 @@ #define SPIRV_ENTRY_POINT "main" -SDL_GPUDevice *ta_gpu_device; -SDL_GPUGraphicsPipeline *ta_gpu_text_pipeline; -SDL_GPUTexture *ta_gpu_text_texture; -SDL_GPUSampler *ta_gpu_text_sampler; -Uint32 ta_gpu_text_texture_width; -Uint32 ta_gpu_text_texture_height; -static SDL_GPUTexture *ta_gpu_msaa_texture; -static SDL_GPUTexture *ta_gpu_depth_texture; -SDL_GPUSampleCount ta_gpu_sample_count = SDL_GPU_SAMPLECOUNT_8; -SDL_GPUTextureFormat ta_gpu_swapchain_format; -static Uint32 ta_gpu_msaa_texture_width; -static Uint32 ta_gpu_msaa_texture_height; -static SDL_GPUCommandBuffer *ta_gpu_command_buffer; -static SDL_GPUTexture *ta_gpu_swapchain_texture; +// NOTE: Does this formatting look good? + SDL_GPUDevice *ta_gpu_device; + SDL_GPUGraphicsPipeline *ta_gpu_text_pipeline; + SDL_GPUTexture *ta_gpu_text_texture; + SDL_GPUSampler *ta_gpu_text_sampler; + Uint32 ta_gpu_text_texture_width; + Uint32 ta_gpu_text_texture_height; +static SDL_GPUTexture *ta_gpu_msaa_texture; +static SDL_GPUTexture *ta_gpu_depth_texture; + SDL_GPUSampleCount ta_gpu_sample_count = SDL_GPU_SAMPLECOUNT_8; + SDL_GPUTextureFormat ta_gpu_swapchain_format; +static Uint32 ta_gpu_msaa_texture_width; +static Uint32 ta_gpu_msaa_texture_height; +static SDL_GPUCommandBuffer *ta_gpu_command_buffer; +static SDL_GPUTexture *ta_gpu_swapchain_texture; static void ta_gpu_resize_msaa_texture(SDL_GPUTextureFormat format) { if (ta_gpu_msaa_texture_width == (Uint32)ta_window_width && |