mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Test reading from NULL vertex buffer at offset 0 with VK_EXT_robustness2
This commit is contained in:
@@ -200,6 +200,10 @@ void main()
|
||||
vkh::vertexAttr(2, 1, DefaultA2V, uv),
|
||||
};
|
||||
|
||||
// uv will test reading from a NULL buffer with an offset, since we won't be reading data anyway
|
||||
// test reading at offset 0
|
||||
pipeCreateInfo.vertexInputState.vertexAttributeDescriptions[1].offset = 0;
|
||||
|
||||
pipeCreateInfo.stages = {
|
||||
CompileShaderModule(common + vertex, ShaderLang::glsl, ShaderStage::vert, "main"),
|
||||
CompileShaderModule(common + pixel, ShaderLang::glsl, ShaderStage::frag, "main"),
|
||||
|
||||
Reference in New Issue
Block a user