Open SunDaw opened 9 months ago
Note: sample 09_depth_render_targets
works fine, I haven't investigated what it does differently
Dave gets this for 06 with Vulkan:
Vulkan ERROR: Code 7060244 : Validation Error: [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle = 0x55555b060ac8, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V module not valid: ID 22[%22] has not been defined %23 = OpVariable %22 Function
False alarm on that one, Dave uses Kong.
Describe the bug Several render target samples from https://github.com/Kode/Kinc-Samples crash with G4onG5 backends (tested with both D3D12 and Vulkan).
To Reproduce Steps to reproduce the behavior:
06_render_targets
,07_multiple_render_targets
or08_float_render_targets
update
callExpected behavior Samples should work the same way they do with Direct3D11/OpenGL backends
Execution Environment:
Additional context Callstack shows crash in "G4.c.h"
startDraw
onmemcpy(current_state.vertex_constant_data, vertexConstantBuffer.data, constantBufferSize);
becausevertexConstantBuffer.data
is a nullpointer