Closed floooh closed 8 years ago
According to RenderDoc, all vertices coming out of the vertex shader are identical within one draw call. This would at least explain why nothing is drawn.
Ok, passing ubyte[4] vertex data as DXGI_FORMAT_R8G8B8A8_UINT doesn't unpack to range 255.0 as expected. DXGI_FORMAT_R8G8B8A8_UNORM works as expected though. Bummer...
Fixed by changing the input vertex format to UByte4N, and manually unpacking in the vertex shader.
Nothing rendering on my Windows laptop. Currently suspecting the weird vertex format, or a problem in the vertex shader. Need to investigate with a simple test case, and test on other Windows configs.