Skip to content

Commit de763e8

Browse files
author
aliasbinman
committed
Add dither functions (#11282) 599f58a196
* Add dither functions * Update draw_raster_order_mesh.frag * Update draw_raster_order_mesh.frag * Update draw_raster_order_mesh.frag * Cleaned up code * Claaaaaaannnng * Add to MSAA and clockwise * More updates * Add to atomic path * Update draw_clockwise_atomic_path.glsl * Claaaaannnngggg * Add ditherScale and ditherBias to flush uniforms * Add 4x4 bayer option * Update common.glsl * Added more atomic dithering * Moved ditherScale and ditherpass to be passed in * Clang * clean up * Add temporal animation on dither pattern (complement of odd frame) * Add temporal dither as well as #Defines * clang * clang * clang * Move to shader misc flags * clang * clang * Update specialization.glsl * Fix atomic * clang format * fix cast to half * Add selection of dither modes * Clang format * Address Chris' comments * address more comments * More updates * Clang format * Remoe lines * Move to m_baselineShaderMiscFlags * Move shader bits to pack to 2 instead of 3 bits * Update gpu.hpp * Handle VK * Delete draw_clockwise_atomic_image_mesh.glsl * Clang * Address comments * Update draw_mesh.frag * Add GM * Update VK * clang format * Update gpu.cpp * Update dithertypes.cpp * Update atomic_draw.glsl * Update comparison for dither type * clang format * Address comments * Update render_context.hpp * More comments * clang * More comments * More comments * clang * Update Gms * GMS * GMs * Update background_shader_compiler.mm * Update render_context_metal_impl.mm * clang * GM * Change the dither code to be on a dynamic branch * Removed all shader viariants for dithering * Update common.glsl * Remove branch on dither * Add dither as a shader feature * Update gpu.cpp * Clang * Clang * VK * Update dithertypes.cpp * Clang gm * Clang * Update metal stuff * Clang * Update generate_draw_combinations.py * Update generate_draw_combinations.py * Update background_shader_compiler.mm * Update render_context_metal_impl.mm * Update render_context_metal_impl.mm * Fix vertex * Clang * GMs * Update gms * Update draw_pipeline_vulkan.cpp * More GMs * Update gpu.hpp * Update gms * Update draw_pipeline_vulkan.cpp * More GMs * More GMs * Update GMs * Update dithertypes.cpp * GMs * Clang * Update GMs * GMS * More gms * Update gpu.hpp * Address comments * Clang * Clang * Update common.glsl * Update common.glsl * Fix metal * clang * Gms * Update gpu.hpp * gms * gms * goldens * Update common.glsl * whitespace * Update gpu.hpp * Update dithertypes.cpp * Update GMS from master * GMS * Remove all dithertypes gm * Clang * Update GMs
1 parent c405b78 commit de763e8

File tree

2 files changed

+2
-2
lines changed