Skip to content

Comments

Mesh Shaders#256

Open
devshgraphicsprogramming wants to merge 10 commits intoDevsh-Graphics-Programming:masterfrom
GDBobby:master
Open

Mesh Shaders#256
devshgraphicsprogramming wants to merge 10 commits intoDevsh-Graphics-Programming:masterfrom
GDBobby:master

Conversation

@devshgraphicsprogramming
Copy link
Member

@devshgraphicsprogramming devshgraphicsprogramming commented Feb 23, 2026

@AnastaZIuk will review and approve

i think i just need to fix the shaders and thats it
[22.12.2025 19:53:22:605382][ERROR]: Descriptor set (000002B092D5C450) doesn't allow descriptor of such type category at binding 1.
[22.12.2025 19:53:22:605551][ERROR]: Invalid descriptor type (descriptorWrites[2]) [4c26069f9][nbl::video::ILogicalDevice::updateDescriptorSets - C:\Projects\Nabla\src\nbl\video\ILogicalDevice.cpp:529]

this is my error code at MeshRenderer.cpp Line 322

It coudl potentially be that the buffer just isn't flagged for storage buffer (it probably isnt), or it could be a deeper issue. My concern is that if I start tugging on this thread next thing I know I'l be rewriting all of nabla.
I'm just going to scrap the current geometry and write a simple cube and call it a day.

I verified that the tasks shaders worked correctly at some point during this process, whoevers reading this is just gonna have to take my word for it.
@@ -365,7 +356,7 @@ class CSimpleDebugRenderer final : public core::IReferenceCounted
//
inline void clearGeometries(const video::ISemaphore::SWaitInfo& info)
{
// back to front to avoid O(n^2) resize
//why woudl oyu delete element by element instead of just deallocating all then clearing once?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because the cleanup gets deferred to when the semaphore signals, see our Vulkanised 2026 talk about timeline semas

@devshgraphicsprogramming
Copy link
Member Author

@GDBobby do you think you could unify it with the existing geometry displaying/testing example and keep the frag shader then switch between ?

esp when PR 1000 lands, this would neatly integrate into our CI system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants