Comments (8)
Saw ISPC can emit c++.
mkdir build
cd build
..\ispc -g -O2 "../bc7e.ispc" -h "bc7e_ispc.h" --target=generic-x64 --opt=disable-assertions --emit-c++ -o "bc7e_ispc.cpp"
from bc7e.
- emit-c++ has been removed from the latest version of ispc
- emit-llvm requires llc to compile the bitcode
- emit-asm I couldn't get to work
- shipping ispc is not a good option
- requiring developers to use ispc is hard
from bc7e.
Your findings are very interesting. I was under the impression that ispc usage is pretty common, even on consoles (surprisingly). (FWIW, we've made license deals off our ispc code.) I have an pure C++ alternative which I could port the ispc code to (cppspmd_fast), which would eliminate ispc completely.
from bc7e.
from bc7e.
@richgel999 Keep me posted about any releases of a SIMD C++ bc7 compressor.
from bc7e.
Thanks I was able to embed this into Godot.
Having trouble investigating why the default is degraded though.
Degraded. Flag 3, perceptual on. INTERPOLATE_LANCZOS (on) is 1.5s, billinear is 0.8s. Trying lod texure bias -2.
Loss-less
from bc7e.
Something went horribly wrong.
Luma Max error: 186.000000 RMSE: 11.887165 PSNR 26.629238 dB
RGB Max error: 190.000000 RMSE: 12.718388 PSNR 26.042162 dB
RGBA Max error: 190.000000 RMSE: 11.014447 PSNR 27.291550 dB
Alpha Max error: 0.000000 RMSE: 0.000000 PSNR 10000000000.000000 dB
# official encoder
Total time: 0.252000 secs
Total time: 0.090000 secs
Wrote DDS file unpacked_output.png
Luma Max error: 9 RMSE: 0.485853 PSNR 54.40 dB
RGB Max error: 24 RMSE: 0.806147 PSNR 50.00 dB
RGBA Max error: 24 RMSE: 0.765902 PSNR 50.45 dB
Alpha Max error: 1 RMSE: 0.629923 PSNR 52.15 dB
Wrote PNG file clay-banks-ZNUh3gpkt1s-unsplash-crop_unpacked.png
Wrote PNG file clay-banks-ZNUh3gpkt1s-unsplash-crop_unpacked_alpha.png
from bc7e.
Resolved https://github.com/fire/godot/tree/bc7e.
64 bit address is not compatible from ispc.
from bc7e.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bc7e.