Skip to content

Instantly share code, notes, and snippets.

@fu5ha
Created December 5, 2018 08:29
Show Gist options
  • Save fu5ha/127434d894ab0d30641b1b861d62b6dd to your computer and use it in GitHub Desktop.
Save fu5ha/127434d894ab0d30641b1b861d62b6dd to your computer and use it in GitHub Desktop.
Finished dev [unoptimized + debuginfo] target(s) in 0.30s
Running `C:\Users\Gray\Code\rendy\target\debug\examples\quads.exe`
WARN 2018-12-05T08:27:25Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_xlib_surface
WARN 2018-12-05T08:27:25Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_xcb_surface
WARN 2018-12-05T08:27:25Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_wayland_surface
WARN 2018-12-05T08:27:25Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_mir_surface
WARN 2018-12-05T08:27:25Z: gfx_backend_vulkan: Unable to find extension: VK_KHR_android_surface
INFO 2018-12-05T08:27:25Z: rendy_factory::factory: Physical devices:
[
AdapterInfo {
name: "GeForce GTX 980 Ti",
vendor: 4318,
device: 6088,
device_type: DiscreteGpu
},
AdapterInfo {
name: "Intel(R) UHD Graphics 630",
vendor: 32902,
device: 16018,
device_type: IntegratedGpu
}
]
INFO 2018-12-05T08:27:25Z: rendy_factory::factory: Physical device picked: PhysicalDeviceInfo {
name: "GeForce GTX 980 Ti",
features: ROBUST_BUFFER_ACCESS | FULL_DRAW_INDEX_U32 | IMAGE_CUBE_ARRAY | INDEPENDENT_BLENDING
| GEOMETRY_SHADER | TESSELLATION_SHADER | SAMPLE_RATE_SHADING | DUAL_SRC_BLENDING | LOGIC_OP | MULTI_DRAW_INDIRECT | DRAW_INDIRECT_FIRST_INSTANCE | DEPTH_CLAMP | DEPTH_BIAS_CLAMP | DEPTH_BOUNDS | LINE_WIDTH | POINT_SIZE | ALPHA_TO_ONE | MULTI_VIEWPORTS | SAMPLER_ANISOTROPY | FORMAT_BC | PRECISE_OCCLUSION_QUERY | PIPELINE_STATISTICS_QUERY | VERTEX_STORES_AND_ATOMICS | FRAGMENT_STORES_AND_ATOMICS,
limits: Limits {
max_texture_size: 2048,
max_texel_elements: 134217728,
max_patch_size: 32,
max_viewports: 16,
max_compute_group_count: [
2147483647,
65535,
65535
],
max_compute_group_size: [
1536,
1024,
64
],
max_vertex_input_attributes: 32,
max_vertex_input_bindings: 32,
max_vertex_input_attribute_offset: 2047,
max_vertex_input_binding_stride: 2048,
max_vertex_output_components: 128,
min_buffer_copy_offset_alignment: 1,
min_buffer_copy_pitch_alignment: 1,
min_texel_buffer_offset_alignment: 16,
min_uniform_buffer_offset_alignment: 256,
min_storage_buffer_offset_alignment: 32,
framebuffer_color_samples_count: 15,
framebuffer_depth_samples_count: 15,
framebuffer_stencil_samples_count: 31,
max_color_attachments: 8,
non_coherent_atom_size: 64,
max_sampler_anisotropy: 16.0
}
}
INFO 2018-12-05T08:27:25Z: rendy_factory::factory: Queues: [
(
QueueFamilyId(
0
),
1
)
]
INFO 2018-12-05T08:27:25Z: rendy_factory::factory: Heaps: [
6393823232,
17035165696
]
Types: [
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
(empty),
1,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
DEVICE_LOCAL,
0,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
DEVICE_LOCAL,
0,
HeapsConfig {
linear: None,
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
COHERENT | CPU_VISIBLE,
1,
HeapsConfig {
linear: Some(
LinearConfig {
linear_size: 268435456
}
),
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
),
(
COHERENT | CPU_VISIBLE | CPU_CACHED,
1,
HeapsConfig {
linear: Some(
LinearConfig {
linear_size: 268435456
}
),
dynamic: Some(
DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}
)
}
)
]
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(0)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(1)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(2)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(3)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(4)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(5)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(6)', properties: '(empty)' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(7)', properties: 'DEVICE_LOCAL' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(8)', properties: 'DEVICE_LOCAL' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::linear: Create new 'linear' allocator: type: 'MemoryTypeId(9)', properties: 'COHERENT | CPU_VISIBLE' config: 'LinearConfig {
linear_size: 268435456
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(9)', properties: 'COHERENT | CPU_VISIBLE' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::linear: Create new 'linear' allocator: type: 'MemoryTypeId(10)', properties: 'COHERENT | CPU_VISIBLE | CPU_CACHED' config: 'LinearConfig {
linear_size: 268435456
}'
INFO 2018-12-05T08:27:25Z: rendy_memory::allocator::dynamic: Create new allocator: type: 'MemoryTypeId(10)', properties: 'COHERENT | CPU_VISIBLE | CPU_CACHED' config: 'DynamicConfig {
blocks_per_chunk: 64,
block_size_granularity: 256,
max_block_size: 33554432
}'
INFO 2018-12-05T08:27:25Z: winit::platform::platform::window: Guessed window DPI factor: 1
INFO 2018-12-05T08:27:25Z: rendy_graph::graph: Schedule: Schedule {
map: {
QueueFamilyId(
0
): Family {
id: QueueFamilyId(
0
),
queues: [
Queue {
id: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
submissions: [
Submission {
node: 0,
id: SubmissionId {
queue: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
index: 0
},
resource_links: {
Id(
0
): 0
},
wait_factor: 0,
submit_order: 0,
sync: SyncData {
wait: [],
acquire: Guard {
buffers: {
Id(
0
): Barrier {
queues: None,
states: (SHADER_READ, (), VERTEX_SHADER)..(SHADER_READ
| SHADER_WRITE, (), COMPUTE_SHADER)
}
},
images: {}
},
release: Guard {
buffers: {
Id(
0
): Barrier {
queues: None,
states: (SHADER_READ | SHADER_WRITE, (), COMPUTE_SHADER)..(SHADER_READ, (), VERTEX_SHADER)
}
},
images: {}
},
signal: []
}
},
Submission {
node: 1,
id: SubmissionId {
queue: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
index: 1
},
resource_links: {
Id(
1
): 0,
Id(
0
): 1
},
wait_factor: 1,
submit_order: 1,
sync: SyncData {
wait: [],
acquire: Guard {
buffers: {},
images: {
Id(
1
): Barrier {
queues: None,
states: (TRANSFER_READ, TransferSrcOptimal, TRANSFER)..(COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE, ColorAttachmentOptimal, COLOR_ATTACHMENT_OUTPUT)
}
}
},
release: Guard {
buffers: {},
images: {
Id(
1
): Barrier {
queues: None,
states: (COLOR_ATTACHMENT_READ | COLOR_ATTACHMENT_WRITE, ColorAttachmentOptimal, COLOR_ATTACHMENT_OUTPUT)..(TRANSFER_READ, TransferSrcOptimal, TRANSFER)
}
}
},
signal: []
}
},
Submission {
node: 2,
id: SubmissionId {
queue: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
index: 2
},
resource_links: {
Id(
1
): 1
},
wait_factor: 2,
submit_order: 2,
sync: SyncData {
wait: [],
acquire: Guard {
buffers: {},
images: {}
},
release: Guard {
buffers: {},
images: {}
},
signal: []
}
}
]
}
]
}
},
ordered: [
SubmissionId {
queue: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
index: 0
},
SubmissionId {
queue: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
index: 1
},
SubmissionId {
queue: QueueId {
family: QueueFamilyId(
0
),
index: 0
},
index: 2
}
]
}
TRACE 2018-12-05T08:27:25Z: quads: Load shader module 'ShaderInfo {
path: "C:\\Users\\Gray\\Code\\rendy\\rendy/examples/quads/bounce.comp",
kind: Compute,
lang: GLSL,
entry: "main"
}'
ERROR 2018-12-05T08:27:25Z: gfx_backend_vulkan: [Driver] vkCreateBufferView: parent VkBuffer must be created with VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT or VK_BUFFER_USAGE_STORAGE_TE
thread 'main' panicked at 'internal error: entered unreachable code', C:\Users\Gray\.cargo\git\checkouts\gfx-e86e7f3ebdbc4218\a998682\src\backend\vulkan\src\device.rs:1064:18
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `3145728`,
right: `0`', memory\src\allocator\dedicated.rs:174:9
stack backtrace:
0: 0x7ff6103d43f2 - std::sys::windows::backtrace::set_frames
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\sys\windows\backtrace\mod.rs:104
1: 0x7ff6103d43f2 - std::sys::windows::backtrace::set_frames
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\sys\windows\backtrace\mod.rs:104
2: 0x7ff6103d64af - std::sys_common::backtrace::_print
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\sys_common\backtrace.rs:71
3: 0x7ff6103d64af - std::sys_common::backtrace::_print
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\sys_common\backtrace.rs:71
4: 0x7ff6103c7358 - std::panicking::default_hook::{{closure}}
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:211
5: 0x7ff6103c7011 - std::panicking::default_hook
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:227
6: 0x7ff6103c7bbc - std::panicking::rust_panic_with_hook
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:477
7: 0x7ff6103c76e3 - std::panicking::continue_panic_fmt
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:391
8: 0x7ff6103c7631 - std::panicking::begin_panic_fmt
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:346
9: 0x7ff61036a534 - rendy_memory::allocator::dedicated::{{impl}}::drop
at C:\Users\Gray\Code\rendy\memory\src\allocator\dedicated.rs:174
10: 0x7ff60fe7ba12 - core::ptr::drop_in_place<rendy_memory::allocator::dedicated::DedicatedAllocator>
at \libcore\ptr.rs:59
11: 0x7ff60fe80b62 - core::ptr::drop_in_place<rendy_memory::heaps::MemoryType<gfx_backend_vulkan::Backend>>
at \libcore\ptr.rs:59
12: 0x7ff60fe8b1a6 - core::ptr::drop_in_place<slice<rendy_memory::heaps::MemoryType<gfx_backend_vulkan::Backend>>>
at \libcore\ptr.rs:59
13: 0x7ff6100016db - alloc::vec::{{impl}}::drop<rendy_memory::heaps::MemoryType<gfx_backend_vulkan::Backend>>
at \liballoc\vec.rs:2186
14: 0x7ff60fe7a61e - core::ptr::drop_in_place<alloc::vec::Vec<rendy_memory::heaps::MemoryType<gfx_backend_vulkan::Backend>>>
at \libcore\ptr.rs:59
15: 0x7ff60fe84bbe - core::ptr::drop_in_place<rendy_memory::heaps::Heaps<gfx_backend_vulkan::Backend>>
at \libcore\ptr.rs:59
16: 0x7ff60fe86c31 - core::ptr::drop_in_place<rendy_factory::factory::Factory<gfx_backend_vulkan::Backend>>
at \libcore\ptr.rs:59
17: 0x7ff60ff2b273 - quads::main
at C:\Users\Gray\Code\rendy\rendy\examples\quads\main.rs:525
18: 0x7ff810cdc8bf - _C_specific_handler
19: 0x7ff810cd2be6 - _TypeMatch
20: 0x7ff810cd1ee2 - is_exception_typeof
21: 0x7ff810cdbfaf - _CxxFrameHandler3
22: 0x7ff8227c4eec - _chkstk
23: 0x7ff822747304 - RtlUnwindEx
24: 0x7ff810cdc358 - FindAndUnlinkFrame
25: 0x7ff810cd2d38 - _TypeMatch
26: 0x7ff810cd23dd - is_exception_typeof
27: 0x7ff810cd1fde - is_exception_typeof
28: 0x7ff810cdbfaf - _CxxFrameHandler3
29: 0x7ff8227c4e6c - _chkstk
30: 0x7ff822746057 - RtlWalkFrameChain
31: 0x7ff822744592 - RtlRaiseException
32: 0x7ff81f9c50d7 - RaiseException
33: 0x7ff810cd46e1 - CxxThrowException
34: 0x7ff6103d9cf7 - panic_unwind::imp::panic
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libpanic_unwind\seh.rs:291
35: 0x7ff6103d9cf7 - panic_unwind::imp::panic
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libpanic_unwind\seh.rs:291
36: 0x7ff6103c7da7 - std::panicking::rust_panic
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:525
37: 0x7ff6103c7c77 - std::panicking::rust_panic_with_hook
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:497
38: 0x7ff6103596a2 - std::panicking::begin_panic<str*>
at \libstd\panicking.rs:411
39: 0x7ff60fe99a96 - gfx_backend_vulkan::device::{{impl}}::create_buffer_view<core::ops::range::Range<u64>>
at <::std::macros::panic macros>:3
40: 0x7ff60ffe09f7 - quads::{{impl}}::build<gfx_backend_vulkan::Backend,()>
at C:\Users\Gray\Code\rendy\rendy\examples\quads\main.rs:381
41: 0x7ff60ffdd69b - rendy_graph::node::{{impl}}::build<gfx_backend_vulkan::Backend,(),quads::GravBounceDesc>
at C:\Users\Gray\Code\rendy\graph\src\node\mod.rs:335
42: 0x7ff60ffe5aa1 - rendy_graph::node::NodeBuilder<gfx_backend_vulkan::Backend, ()>::build<gfx_backend_vulkan::Backend,()>
at C:\Users\Gray\Code\rendy\graph\src\node\mod.rs:459
43: 0x7ff60fe909b2 - rendy_graph::graph::GraphBuilder<gfx_backend_vulkan::Backend, ()>::build<gfx_backend_vulkan::Backend,()>
at C:\Users\Gray\Code\rendy\graph\src\graph\mod.rs:294
44: 0x7ff60ff2b135 - quads::main
at C:\Users\Gray\Code\rendy\rendy\examples\quads\main.rs:520
45: 0x7ff60feb72ef - std::rt::lang_start::{{closure}}<()>
at \libstd\rt.rs:74
46: 0x7ff6103c7526 - std::rt::lang_start_internal::{{closure}}
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\rt.rs:59
47: 0x7ff6103c7526 - std::rt::lang_start_internal::{{closure}}
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\rt.rs:59
48: 0x7ff6103d9c11 - panic_unwind::__rust_maybe_catch_panic
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libpanic_unwind\lib.rs:103
49: 0x7ff6103cc482 - std::panicking::try
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:289
50: 0x7ff6103cc482 - std::panicking::try
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:289
51: 0x7ff6103cc482 - std::panicking::try
at /rustc/1433507eba7d1a114e4c6f27ae0e1a74f60f20de\src/libstd\panicking.rs:289
52: 0x7ff60feb72ca - std::rt::lang_start<()>
at \libstd\rt.rs:74
53: 0x7ff60ff2b62f - main
54: 0x7ff61068305b - invoke_main
at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:78
55: 0x7ff61068305b - invoke_main
at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:78
56: 0x7ff820291fe3 - BaseThreadInitThunk
57: 0x7ff82278cb30 - RtlUserThreadStart
thread panicked while panicking. aborting.
error: process didn't exit successfully: `C:\Users\Gray\Code\rendy\target\debug\examples\quads.exe` (exit code: 3221225501)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment