Skip to content

An attempt to port BC7E texture compressor to a GPU compute shader

Notifications You must be signed in to change notification settings

aras-p/bc7e-on-gpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bc7e-on-gpu

An experiment at trying to port Binomial's BC7E texture compressor (https://github.com/BinomialLLC/bc7e) to a GPU compute shader.

Currently it does nothing good, just resulted in some twitter rants :)

Current state (2021 Jan):

  • Metal supports "ultrafast", "veryfast", "fast" and "basic" quality modes, produces identical results to CPU ISPC code, runs slightly faster than CPU code (except for "ultrafast" mode where CPU is faster).
  • DX11 & Vulkan support "ultrafast", "veryfast" and "fast" quality modes, does not produce idential results as CPU ISPC code, runs slightly (DX11) or a lot (Vulkan) slower than CPU.

I suspect in order to get this into a decent state on the GPU it needs way more reshuffling to improve GPU occupancy, etc. etc.

About

An attempt to port BC7E texture compressor to a GPU compute shader

Topics

Resources

Stars

Watchers

Forks