Nielsbishere

Results 92 comments of Nielsbishere

Why not? @VZout using triple buffering allows the GPU to keep on working on the next frames while you readback from the result from a while ago EDIT: You can...

I have a PoC for HasField: ```cpp #define HAS_FIELD(funcName, name, ...) \ template \ struct T##funcName { \ static constexpr bool value = false; \ }; \ \ template \...

For example; in model pool, there's the sample code copy pasted 5x one for every vertex type. We could have checks for for example position and then only call the...

https://github.com/TeamWisp/Procedural-Ray-Tracing/pull/228 Cleans up intermediate texture allocations

Cubemap intermediate is also (probably) being left over, I'll look into it further. EDIT: https://github.com/TeamWisp/Procedural-Ray-Tracing/pull/241

The skybox is mipmapped but doesn't have to be, this costs approx 50% more memory than without mipmapping, as the mips aren't used anywhere.

https://github.com/TeamWisp/Procedural-Ray-Tracing/issues/222

Yeah but not everywhere, an example is in mapping/unmapping memory. If this fails, it memcpys into a nullptr. Might be good to have it for debugging, because mapping memory fails...

I'd rather have 1 compare and added safety than saving that and having to do it in the caller

https://github.com/microsoft/DirectXTex/blob/master/DirectXTex/DirectXTexCompress.cpp#L70