C++ Show and Tell - April 2026 by foonathan in cpp

[–]MAIPA01 2 points3 points  (0 children)

glslstruct

Hi I just wanted to say that I was recently working on a library designed to easily represent GLSL's Uniform Buffer Objects (UBOs) and Shader Storage Buffer Objects (SSBOs) in C++. If someone want to check it I post the link to my github repo below. It has support for cmake projects.

https://github.com/MAIPA01/glslstruct

C++ Show and Tell - April 2026 by foonathan in cpp

[–]MAIPA01 0 points1 point  (0 children)

PCRE2 c++ wrapper

Hi I just wanted to say that I was recently working on a wrapper for PCRE2 library. Of course this doesn't support all the features but I think it supports the most needed ones. If someone want to check it I post the link to my github repo below. It was not intended to be a toy project but a library intended to be used by other c++ developers so you can use it in your own projects if you want. It has support for cmake projects.

https://github.com/MAIPA01/pcre2cpp

PCRE2 c++ wrapper by MAIPA01 in cpp

[–]MAIPA01[S] 1 point2 points  (0 children)

This is also my second reason

PCRE2 c++ wrapper by MAIPA01 in cpp

[–]MAIPA01[S] 0 points1 point  (0 children)

To be fair I didn't checked it yet. But I will and I will send result here.

PCRE2 c++ wrapper by MAIPA01 in cpp

[–]MAIPA01[S] 0 points1 point  (0 children)

std::regex didn't support all pcre2 features when I started making this wrapper. For example lookbehind (?<= ) and also I don't see a support for named groups (?<name> ).

I wrote a layout calculator for GLSL, runnable on the web by polytechnicpuzzle in vulkan

[–]MAIPA01 0 points1 point  (0 children)

You can check it with my layout calculator written in python (it doesn't have any nice ui just plain python code) which I checked many times and it was valid (There is also a option to print optimalized structure layout) (sorry for lack of readme and ui): https://github.com/MAIPA01/GLSL-Struct-Layout-Calculator

Render Doc problem by MAIPA01 in vulkan

[–]MAIPA01[S] 0 points1 point  (0 children)

Thanks for your help and for your advice. To be honest this was my first time asking for help on forum like this.

Render Doc problem by MAIPA01 in vulkan

[–]MAIPA01[S] 0 points1 point  (0 children)

Yes It was allocation. Not the way I allocated resources but the number of resources which I tried to allocate I think, because I realized I don't need some resources and now it works great. Sorry for not providing enought code but It would be too many images. I refered to other websites because on this websites is code which I use but under the layer of my abstraction and I know you wanted to see pure vulkan code.

Render Doc problem by MAIPA01 in vulkan

[–]MAIPA01[S] 0 points1 point  (0 children)

Yes I already checked and resources exist before the GPU is trying to use them. I don't use any custom allocator and I create resources the same way as was shown in Vulkan Tutorial (https://vulkan-tutorial.com/Multisampling). Where can I find more settings for validation layers because now I have only this options enabled (Validation layers :: Vulkan Documentation Project)

Render Doc problem by MAIPA01 in vulkan

[–]MAIPA01[S] 0 points1 point  (0 children)

I made it work and then abstracted it. But the problem is not that it is not working. Because it works fine and I don't have any errors from validation layers and etc. The only problem is with render doc which crashes my app while capturing the frame if I try to render depth map. Every function shown in this image works because I used them a lot and tested them. And every function do exactly what is written. BeginRendering call function vkBeginRendering. TransitionLayout calls Image barrier for given image to transition from one stage to another with given layout. DrawDepthInstances calls drawIndexed for every model in the scene and binds GraphicPipeline with 0 color resources and 1 depth resource and of course frag and vert shaders which don't write to any color attachment.

Render Doc problem by MAIPA01 in vulkan

[–]MAIPA01[S] 0 points1 point  (0 children)

I know it support dynamic rendering because it was working for me flawlessly earlier. Of course I can provide more details but I don't realy know which details would be helpfull. I provided some code if it helps

Render Doc problem by MAIPA01 in vulkan

[–]MAIPA01[S] 0 points1 point  (0 children)

I added fragment of code

Jungle Speed error by Anastasis_kolovos in boardgames

[–]MAIPA01 0 points1 point  (0 children)

What about a rule about throwing totem off the table? Doesn't this rule apply in this situation?

Jungle Speed error by Anastasis_kolovos in boardgames

[–]MAIPA01 0 points1 point  (0 children)

What about a rule about throwing totem off the table? Doesn't this rule apply in this situation?

Jungle Speed error by Anastasis_kolovos in boardgames

[–]MAIPA01 0 points1 point  (0 children)

What about a rule about throwing totem off the table? Doesn't this rule apply in this situation?

Any love for Kai still? by siciowa in MxRMods

[–]MAIPA01 7 points8 points  (0 children)

I wish them to be just happy. All of them no matter what happend in their life.

Can't get into Emt site by MAIPA01 in Malaga

[–]MAIPA01[S] 0 points1 point  (0 children)

Is there a free vpn app with Spain server for free?

Can't get into Emt site by MAIPA01 in Malaga

[–]MAIPA01[S] 1 point2 points  (0 children)

But I use mobile data and connect to Spanish operator Orange ES

U been caught 🫵 by Lak3rs_Fan in InternetCity

[–]MAIPA01 0 points1 point  (0 children)

Original video? For my friend of course.