Comments (6)
Unfortunately we realize the problem exists and we will filter this history at some point, thanks for pointing it out. I've tried to cut the size first here #600. Shall we sort this out @devshgraphicsprogramming?
@expenses current nice solution would be to do shallow clone, you will reduce the size to 6.19 MiB
$ git clone --depth=1 [email protected]:Devsh-Graphics-Programming/Nabla.git .
Cloning into '.'...
remote: Enumerating objects: 2663, done.
remote: Counting objects: 100% (2663/2663), done.
remote: Compressing objects: 100% (2275/2275), done.
remote: Total 2663 (delta 386), reused 1789 (delta 310), pack-reused 0
Receiving objects: 100% (2663/2663), 6.19 MiB | 6.11 MiB/s, done.
Resolving deltas: 100% (386/386), done.
If Nabla is your submodule you can shallow init and update it too
git submodule update --init --depth=1 <module_path_to_nabla>
If you build Nabla I recommend to let CMake do submodule updates for you, to request shallow updates we have NBL_CI_GIT_SUBMODULES_SHALLOW
option, you can also exclude whole examples_tests
(and parents) from the submodule request init & update by turning off NBL_BUILD_EXAMPLES
option, to toggle the request you can use NBL_UPDATE_GIT_SUBMODULE
option
from nabla.
but (I might be mistaken) it seems like it was part of this repository in the past.
indeed, got filtered with git-filter-repo :D
from nabla.
I'd love to be able to include it in my project for some of the glsl built-ins, but this is a little too large for me to casually include it as a git submodule if I just want to use one or two functions.
@expenses you're probably better off justcopying the GLSL over into your project, because we're about to delete it in favour of HLSL.
If you're comfortable with removing these two directories from git history then I say go for it. Obviously that's necessarily an easy decision to make though. examples_tests is now a submodule but (I might be mistaken) it seems like it was part of this repository in the past.
The ditt
branch is pretty far behind, and we need to keep it alive for some time (until a new Vulkan Path Tracer replaces the OpenGL+OpenCL+CUDA abomination we made).
Once that's done I'm somewhat open to "truncating" the history.
However I'll probably move out nbl/builtin/hlsl
to a submodule first.
from nabla.
@expenses current nice solution would be to do shallow clone, you will reduce the size to 6.19 MiB
Ah, that's a great solution, I totally forgot about shallow clones!
@expenses you're probably better off justcopying the GLSL over into your project, because we're about to delete it in favour of HLSL.
Yep fair enough, I want to switch (back) to HLSL but I'm stuck with GLSL until I can use 8-bit ints, 64-bit atomics and BDA nicely.
from nabla.
@expenses current nice solution would be to do shallow clone, you will reduce the size to 6.19 MiB
Ah, that's a great solution, I totally forgot about shallow clones!
@expenses you're probably better off justcopying the GLSL over into your project, because we're about to delete it in favour of HLSL.
Yep fair enough, I want to switch (back) to HLSL but I'm stuck with GLSL until I can use 8-bit ints, 64-bit atomics and BDA nicely.
8bit is a problem, 64bit work just fine, BDA incoming
from nabla.
Related Issues (20)
- Asset ImageFilters do use extents in texel dimensions incorrectly HOT 3
- Small Vector Optimization for `dynamic_array`
- `CPipelineBarrierCmd` and `CWaitEventsCmd` need the definitions of `S{Buffer/Image}MemoryBarrier` HOT 2
- Material Compiler V2 HOT 7
- Bug encountered when loading a TGA file HOT 1
- Fix Threadsafeness of Refcounting on Descriptor Pools and Sets HOT 1
- Make sure Shared Library Load order is respected on Linux/POSIX
- IEventCallback API methods HOT 1
- Replace `core::SRange` with `std::span` and other templated usages with `std::view` concept template HOT 1
- Update Readme.md build instructions unclear
- ImGUI Improvements HOT 1
- Support ASTC HDR texture formats
- Implement Descriptor Set Update Templates HOT 1
- Implement + require `VK_KHR_surface_maintenance1` and `VK_KHR_swapchain_maintenance1`
- Require `ray_tracing_maintenance1`
- Implement `VK_EXT_opacity_micromap`
- Implement `VK_EXT_shader_tile_image` when it gets released and supported on desktop GPUs
- Leverage guarantees of `KHR_maintenance4`
- Major refactor of ICPUBuffer needed
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 nabla.