Direct3D 11恒定缓冲区太小......

时间:2016-02-12 15:18:27

标签: directx-11 hlsl direct3d11

D3D11 WARNING: ID3D11DeviceContext::Draw: The size of the Constant Buffer at slot 0 of the Vertex Shader unit is too small (16 bytes provided, 64 bytes, at least, expected).` `This is OK, as out-of-bounds reads are defined to return 0. It is also possible the developer knows the missing data will not be used anyway.` `This is only a problem if the developer actually intended to bind a sufficiently large Constant Buffer for what the shader expects.`  `[ EXECUTION WARNING #351: DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL]

P.S。这可能是我的DDS Cube纹理没有在G-Buffer中绘制的原因吗?这只是一个警告,但整天我都坚持这个任何帮助。

0 个答案:

没有答案