Ravbug

Results 33 comments of Ravbug

If I do that on Windows, the header error is fixed but it's traded for an undefined symbols error in `shaderc`: ```cpp 50>glslang.lib(ShaderLang.obj) : error LNK2019: unresolved external symbol "public:...

Did some more experimentation and the case can be made even simpler: command: `./shaderc -f vertex.sc -o vertex.bin --type vertex --platform osx --profile metal ` vertex.sc with buffer write: ```glsl...

Looks like it is related to the comment I linked above, I was able to "fix" it for my case by disabling [3rdparty/spirv-cross/spirv-msl.cpp:1492](https://github.com/bkaradzic/bgfx/blob/d7a8e50d26187d1cb78647b70d311a0350621788/3rdparty/spirv-cross/spirv_msl.cpp#L1492): ```cpp // Before MSL 2.1 (2.2 for...

It does allow this in Metal 2.1 or newer (2.2 for writing to textures in vertex shaders) I was able to fix it a different way by setting the Metal...

For getting the current allocation size, it looks like [`currentAllocatedSize` in `MTLDevice`](https://developer.apple.com/documentation/metal/mtldevice/2915745-currentallocatedsize?changes=_6&language=objc) will work. For total amount of GPU memory, [This note in MoltenVK commit history](https://skia.googlesource.com/external/github.com/KhronosGroup/MoltenVK/+/92f0bec6e25f57acc30116dee23aaf1ed2ec6f77%5E%21/) seems to indicate that...

This [code I adapted from Maya](https://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__cpp_ref_gpu_cache_2gpu_cache_vram_query_8cpp_example_html) seems to work for macOS for getting the total VRAM: ```cpp void queryVRAMandModelMac(uint64_t& vram, std::string& manufacturer, std::string& model) { vram = 0; CGError res...

As of today the DirectX12 backend is working and after manually telling CMake where Vulkan was installed (it was not picking that up automatically), the Vulkan backends also work, though...

My application is using Direct3D12, SteamVR version is 1.22.13 With the same computer and headset, I get a crash in hello_xr on D3D12 (same crash as #313, not in `xrBeginFrame`)....

Hi, unfortunately we don't have the original source code for GlovePIE, so I'm not sure how to make that modification. I have determined through some reverse-engineering that it's a Pascal/Delphi...

Also fails in the same way with g++12 on Ubuntu 22.04.