Error involving TilerMemoryless and Vulkan

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


jwwalker
Goblin
Posts: 256
Joined: Thu Aug 12, 2021 10:06 pm
Location: San Diego, CA, USA
x 19

Error involving TilerMemoryless and Vulkan

Post by jwwalker »

At some point when I was having trouble copying the contents of the depth buffer, I modified CompositorManager2::createBasicWorkspaceDef in my fork to say

Code: Select all

passScene->mStoreActionDepth = StoreAction::Store;
passScene->mStoreActionStencil = StoreAction::Store;

Now, when I try to run a sample program on Windows using Vulkan, I get an error:

Image

The error message says that I should be able to fix it by setting "Allow Memoryless RTT" to NO, but I tried that and the error still remains.

There is no error when using the Direct3D11 render system.

Here is Ogre.log:

Code: Select all

15:22:45: Creating resource group General
15:22:45: Creating resource group Internal
15:22:45: Creating resource group Autodetect
15:22:45: SceneManagerFactory for type 'DefaultSceneManager' registered.
15:22:45: Registering ResourceManager for type Material
15:22:45: Registering ResourceManager for type Mesh
15:22:45: Registering ResourceManager for type Mesh2
15:22:45: Registering ResourceManager for type OldSkeleton
15:22:45: MovableObjectFactory for type 'ParticleSystem' registered.
15:22:45: ArchiveFactory for archive type FileSystem registered.
15:22:45: ArchiveFactory for archive type Zip registered.
15:22:45: ArchiveFactory for archive type EmbeddedZip registered.
15:22:45: DDS codec registering
15:22:45: FreeImage version: 3.18.0
15:22:45: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
15:22:45: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,psb,cut,xbm,xpm,gif,hdr,g3,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
15:22:45: ETC codec registering
15:22:45: OITD codec registering
15:22:45: Registering ResourceManager for type HighLevelGpuProgram
15:22:45: MovableObjectFactory for type 'Decal' registered.
15:22:45: MovableObjectFactory for type 'InternalCubemapProbe' registered.
15:22:45: MovableObjectFactory for type 'Entity' registered.
15:22:45: MovableObjectFactory for type 'Item' registered.
15:22:45: MovableObjectFactory for type 'Light' registered.
15:22:45: MovableObjectFactory for type 'ParticleSystem2' registered.
15:22:45: MovableObjectFactory for type 'Rectangle2Dv2' registered.
15:22:45: MovableObjectFactory for type 'BillboardSet' registered.
15:22:45: MovableObjectFactory for type 'ManualObject2' registered.
15:22:45: MovableObjectFactory for type 'BillboardChain' registered.
15:22:45: MovableObjectFactory for type 'RibbonTrail' registered.
15:22:45: MovableObjectFactory for type 'WireAabb' registered.
15:22:45: Loading library .\RenderSystem_Direct3D11_d
15:22:45: Installing plugin: D3D11 RenderSystem
15:22:45: D3D11: Direct3D11 Rendering Subsystem created.
15:22:45: D3D11: Driver Detection Starts
15:22:45: D3D11: "NVIDIA GeForce RTX 2060"
15:22:45: D3D11: "Microsoft Basic Render Driver (software)"
15:22:45: D3D11: Driver Detection Ends
15:22:45: Plugin successfully installed
15:22:45: Loading library .\RenderSystem_GL3Plus_d
15:22:45: Could not load optional dynamic library .\RenderSystem_GL3Plus_d.  System Error: The specified module could not be found.


15:22:45: Loading library .\RenderSystem_Vulkan_d
15:22:45: Installing plugin: Vulkan RenderSystem
15:22:45: Vulkan: Initializing
15:22:45: Vulkan: Found instance extension: VK_KHR_device_group_creation
15:22:45: Vulkan: Found instance extension: VK_KHR_display
15:22:45: Vulkan: Found instance extension: VK_KHR_external_fence_capabilities
15:22:45: Vulkan: Found instance extension: VK_KHR_external_memory_capabilities
15:22:45: Vulkan: Found instance extension: VK_KHR_external_semaphore_capabilities
15:22:45: Vulkan: Found instance extension: VK_KHR_get_display_properties2
15:22:45: Vulkan: Found instance extension: VK_KHR_get_physical_device_properties2
15:22:45: Vulkan: Found instance extension: VK_KHR_get_surface_capabilities2
15:22:45: Vulkan: Found instance extension: VK_KHR_surface
15:22:45: Vulkan: Found instance extension: VK_KHR_surface_protected_capabilities
15:22:45: Vulkan: Found instance extension: VK_KHR_win32_surface
15:22:45: Vulkan: Found instance extension: VK_EXT_debug_report
15:22:45: Vulkan: Found instance extension: VK_EXT_debug_utils
15:22:45: Vulkan: Found instance extension: VK_EXT_direct_mode_display
15:22:45: Vulkan: Found instance extension: VK_EXT_surface_maintenance1
15:22:45: Vulkan: Found instance extension: VK_EXT_swapchain_colorspace
15:22:45: Vulkan: Found instance extension: VK_NV_external_memory_capabilities
15:22:45: Vulkan: Found instance extension: VK_KHR_portability_enumeration
15:22:45: Vulkan: Found instance extension: VK_LUNARG_direct_driver_loading
15:22:45: Vulkan: Found instance layer: VK_LAYER_NV_optimus
15:22:45: Vulkan: Found instance layer: VK_LAYER_LUNARG_api_dump
15:22:45: Vulkan: Found instance layer: VK_LAYER_LUNARG_gfxreconstruct
15:22:45: Vulkan: Found instance layer: VK_LAYER_KHRONOS_synchronization2
15:22:45: Vulkan: Found instance layer: VK_LAYER_KHRONOS_validation
15:22:45: Vulkan: Found instance layer: VK_LAYER_LUNARG_monitor
15:22:45: Vulkan: Found instance layer: VK_LAYER_LUNARG_screenshot
15:22:45: Vulkan: Found instance layer: VK_LAYER_KHRONOS_profiles
15:22:45: Vulkan: Found instance layer: VK_LAYER_KHRONOS_shader_object
15:22:45: Vulkan: Found instance layer: VK_LAYER_LUNARG_crash_diagnostic
15:22:45: Vulkan: Requesting instance extension: VK_EXT_debug_report
15:22:45: Vulkan: Requesting instance extension: VK_EXT_debug_utils
15:22:45: Vulkan: Requesting instance extension: VK_KHR_get_physical_device_properties2
15:22:45: Vulkan: Requesting instance extension: VK_KHR_surface
15:22:45: Vulkan: Requesting instance extension: VK_KHR_win32_surface
15:22:45: Vulkan: Requesting instance layer: VK_LAYER_KHRONOS_validation
15:22:45: Vulkan: Device detection starts
15:22:45: Vulkan: "NVIDIA GeForce RTX 2060"
15:22:45: Vulkan: Device detection ends
15:22:45: Plugin successfully installed
15:22:45: Loading library .\Plugin_ParticleFX_d
15:22:45: Installing plugin: ParticleFX
15:22:45: Particle Emitter Type 'Point' registered
15:22:45: Particle Emitter Type 'Box' registered
15:22:45: Particle Emitter Type 'Ellipsoid' registered
15:22:45: Particle Emitter Type 'Cylinder' registered
15:22:45: Particle Emitter Type 'Ring' registered
15:22:45: Particle Emitter Type 'HollowEllipsoid' registered
15:22:45: Particle Affector Type 'LinearForce' registered
15:22:45: Particle Affector Type 'ColourFader' registered
15:22:45: Particle Affector Type 'ColourFader2' registered
15:22:45: Particle Affector Type 'ColourImage' registered
15:22:45: Particle Affector Type 'ColourInterpolator' registered
15:22:45: Particle Affector Type 'ScaleInterpolator' registered
15:22:45: Particle Affector Type 'Scaler' registered
15:22:45: Particle Affector Type 'Rotator' registered
15:22:45: Particle Affector Type 'DirectionRandomiser' registered
15:22:45: Particle Affector Type 'DeflectorPlane' registered
15:22:45: Plugin successfully installed
15:22:45: Loading library .\Plugin_ParticleFX2_d
15:22:45: Installing plugin: ParticleFX2
15:22:45: Plugin successfully installed
15:22:45: *-*-* OGRE Initialising
15:22:45: *-*-* Version 4.0.0unstable (F)
15:22:45: D3D11: RenderSystem Option: sRGB Gamma Conversion = Yes
15:22:45: D3D11: RenderSystem Option: Rendering Device = (default)
15:22:45: D3D11: RenderSystem Option: Allow NVPerfHUD = No
15:22:45: D3D11: RenderSystem Option: Backbuffer Count = Auto
15:22:45: D3D11: RenderSystem Option: Driver type = Hardware
15:22:45: D3D11: RenderSystem Option: FSAA = 1x MSAA
15:22:45: D3D11: RenderSystem Option: Fast Shader Build Hack = Yes
15:22:45: D3D11: RenderSystem Option: Floating-point mode = Fastest
15:22:45: D3D11: RenderSystem Option: Full Screen = Yes
15:22:45: D3D11: RenderSystem Option: Information Queue Exceptions Bottom Level = Info (exception on any message)
15:22:45: D3D11: RenderSystem Option: Max Requested Feature Levels = 11.1
15:22:45: D3D11: RenderSystem Option: Min Requested Feature Levels = 9.1
15:22:45: D3D11: RenderSystem Option: VSync = No
15:22:45: D3D11: RenderSystem Option: VSync Interval = 1
15:22:45: D3D11: RenderSystem Option: Vendor Extensions = Auto
15:22:45: D3D11: RenderSystem Option: Video Mode = 1920 x 1080 @ 32-bit colour
15:22:45: D3D11: RenderSystem Option: sRGB Gamma Conversion = Yes
15:22:58: D3D11: Shutting down cleanly.
15:22:58: CPU Identifier & Features
15:22:58: -------------------------
15:22:58:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
15:22:58:  *   Logical cores: 8
15:22:58:  *      SSE: yes
15:22:58:  *     SSE2: yes
15:22:58:  *     SSE3: yes
15:22:58:  *      MMX: yes
15:22:58:  *   MMXEXT: yes
15:22:58:  *    3DNOW: no
15:22:58:  * 3DNOWEXT: no
15:22:58:  *     CMOV: yes
15:22:58:  *      TSC: yes
15:22:58:  *      FPU: yes
15:22:58:  *      PRO: yes
15:22:58:  *       HT: no
15:22:58: -------------------------
15:22:58: Vulkan: Requesting instance extension: VK_EXT_debug_report
15:22:58: Vulkan: Requesting instance extension: VK_EXT_debug_utils
15:22:58: Vulkan: Requesting instance extension: VK_KHR_get_physical_device_properties2
15:22:58: Vulkan: Requesting instance extension: VK_KHR_surface
15:22:58: Vulkan: Requesting instance extension: VK_KHR_win32_surface
15:22:58: Vulkan: Requesting instance layer: VK_LAYER_KHRONOS_validation
15:22:58: Vulkan: Device detection starts
15:22:58: Vulkan: "NVIDIA GeForce RTX 2060"
15:22:58: Vulkan: Device detection ends
15:22:58: Vulkan: Selected "NVIDIA GeForce RTX 2060" physical device
15:22:58: Vulkan: Found device extension: VK_KHR_16bit_storage
15:22:58: Vulkan: Found device extension: VK_KHR_8bit_storage
15:22:58: Vulkan: Found device extension: VK_KHR_acceleration_structure
15:22:58: Vulkan: Found device extension: VK_KHR_bind_memory2
15:22:58: Vulkan: Found device extension: VK_KHR_buffer_device_address
15:22:58: Vulkan: Found device extension: VK_KHR_calibrated_timestamps
15:22:58: Vulkan: Found device extension: VK_KHR_cooperative_matrix
15:22:58: Vulkan: Found device extension: VK_KHR_copy_commands2
15:22:58: Vulkan: Found device extension: VK_KHR_create_renderpass2
15:22:58: Vulkan: Found device extension: VK_KHR_dedicated_allocation
15:22:58: Vulkan: Found device extension: VK_KHR_deferred_host_operations
15:22:58: Vulkan: Found device extension: VK_KHR_depth_stencil_resolve
15:22:58: Vulkan: Found device extension: VK_KHR_descriptor_update_template
15:22:58: Vulkan: Found device extension: VK_KHR_device_group
15:22:58: Vulkan: Found device extension: VK_KHR_draw_indirect_count
15:22:58: Vulkan: Found device extension: VK_KHR_driver_properties
15:22:58: Vulkan: Found device extension: VK_KHR_dynamic_rendering
15:22:58: Vulkan: Found device extension: VK_KHR_dynamic_rendering_local_read
15:22:58: Vulkan: Found device extension: VK_KHR_external_fence
15:22:58: Vulkan: Found device extension: VK_KHR_external_fence_win32
15:22:58: Vulkan: Found device extension: VK_KHR_external_memory
15:22:58: Vulkan: Found device extension: VK_KHR_external_memory_win32
15:22:58: Vulkan: Found device extension: VK_KHR_external_semaphore
15:22:58: Vulkan: Found device extension: VK_KHR_external_semaphore_win32
15:22:58: Vulkan: Found device extension: VK_KHR_format_feature_flags2
15:22:58: Vulkan: Found device extension: VK_KHR_fragment_shader_barycentric
15:22:58: Vulkan: Found device extension: VK_KHR_fragment_shading_rate
15:22:58: Vulkan: Found device extension: VK_KHR_get_memory_requirements2
15:22:58: Vulkan: Found device extension: VK_KHR_global_priority
15:22:58: Vulkan: Found device extension: VK_KHR_image_format_list
15:22:58: Vulkan: Found device extension: VK_KHR_imageless_framebuffer
15:22:58: Vulkan: Found device extension: VK_KHR_index_type_uint8
15:22:58: Vulkan: Found device extension: VK_KHR_line_rasterization
15:22:58: Vulkan: Found device extension: VK_KHR_load_store_op_none
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance1
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance2
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance3
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance4
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance5
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance6
15:22:58: Vulkan: Found device extension: VK_KHR_maintenance7
15:22:58: Vulkan: Found device extension: VK_KHR_map_memory2
15:22:58: Vulkan: Found device extension: VK_KHR_multiview
15:22:58: Vulkan: Found device extension: VK_KHR_pipeline_executable_properties
15:22:58: Vulkan: Found device extension: VK_KHR_pipeline_library
15:22:58: Vulkan: Found device extension: VK_KHR_present_id
15:22:58: Vulkan: Found device extension: VK_KHR_present_wait
15:22:58: Vulkan: Found device extension: VK_KHR_push_descriptor
15:22:58: Vulkan: Found device extension: VK_KHR_ray_query
15:22:58: Vulkan: Found device extension: VK_KHR_ray_tracing_maintenance1
15:22:58: Vulkan: Found device extension: VK_KHR_ray_tracing_pipeline
15:22:58: Vulkan: Found device extension: VK_KHR_ray_tracing_position_fetch
15:22:58: Vulkan: Found device extension: VK_KHR_relaxed_block_layout
15:22:58: Vulkan: Found device extension: VK_KHR_sampler_mirror_clamp_to_edge
15:22:58: Vulkan: Found device extension: VK_KHR_sampler_ycbcr_conversion
15:22:58: Vulkan: Found device extension: VK_KHR_separate_depth_stencil_layouts
15:22:58: Vulkan: Found device extension: VK_KHR_shader_atomic_int64
15:22:58: Vulkan: Found device extension: VK_KHR_shader_clock
15:22:58: Vulkan: Found device extension: VK_KHR_shader_draw_parameters
15:22:58: Vulkan: Found device extension: VK_KHR_shader_expect_assume
15:22:58: Vulkan: Found device extension: VK_KHR_shader_float16_int8
15:22:58: Vulkan: Found device extension: VK_KHR_shader_float_controls
15:22:58: Vulkan: Found device extension: VK_KHR_shader_float_controls2
15:22:58: Vulkan: Found device extension: VK_KHR_shader_integer_dot_product
15:22:58: Vulkan: Found device extension: VK_KHR_shader_maximal_reconvergence
15:22:58: Vulkan: Found device extension: VK_KHR_shader_non_semantic_info
15:22:58: Vulkan: Found device extension: VK_KHR_shader_quad_control
15:22:58: Vulkan: Found device extension: VK_KHR_shader_relaxed_extended_instruction
15:22:58: Vulkan: Found device extension: VK_KHR_shader_subgroup_extended_types
15:22:58: Vulkan: Found device extension: VK_KHR_shader_subgroup_rotate
15:22:58: Vulkan: Found device extension: VK_KHR_shader_subgroup_uniform_control_flow
15:22:58: Vulkan: Found device extension: VK_KHR_shader_terminate_invocation
15:22:58: Vulkan: Found device extension: VK_KHR_spirv_1_4
15:22:58: Vulkan: Found device extension: VK_KHR_storage_buffer_storage_class
15:22:58: Vulkan: Found device extension: VK_KHR_swapchain
15:22:58: Vulkan: Found device extension: VK_KHR_swapchain_mutable_format
15:22:58: Vulkan: Found device extension: VK_KHR_synchronization2
15:22:58: Vulkan: Found device extension: VK_KHR_timeline_semaphore
15:22:58: Vulkan: Found device extension: VK_KHR_uniform_buffer_standard_layout
15:22:58: Vulkan: Found device extension: VK_KHR_variable_pointers
15:22:58: Vulkan: Found device extension: VK_KHR_vertex_attribute_divisor
15:22:58: Vulkan: Found device extension: VK_KHR_video_decode_h264
15:22:58: Vulkan: Found device extension: VK_KHR_video_decode_h265
15:22:58: Vulkan: Found device extension: VK_KHR_video_decode_queue
15:22:58: Vulkan: Found device extension: VK_KHR_video_encode_h264
15:22:58: Vulkan: Found device extension: VK_KHR_video_encode_h265
15:22:58: Vulkan: Found device extension: VK_KHR_video_encode_queue
15:22:58: Vulkan: Found device extension: VK_KHR_video_maintenance1
15:22:58: Vulkan: Found device extension: VK_KHR_video_queue
15:22:58: Vulkan: Found device extension: VK_KHR_vulkan_memory_model
15:22:58: Vulkan: Found device extension: VK_KHR_win32_keyed_mutex
15:22:58: Vulkan: Found device extension: VK_KHR_workgroup_memory_explicit_layout
15:22:58: Vulkan: Found device extension: VK_KHR_zero_initialize_workgroup_memory
15:22:58: Vulkan: Found device extension: VK_EXT_4444_formats
15:22:58: Vulkan: Found device extension: VK_EXT_attachment_feedback_loop_dynamic_state
15:22:58: Vulkan: Found device extension: VK_EXT_attachment_feedback_loop_layout
15:22:58: Vulkan: Found device extension: VK_EXT_blend_operation_advanced
15:22:58: Vulkan: Found device extension: VK_EXT_border_color_swizzle
15:22:58: Vulkan: Found device extension: VK_EXT_buffer_device_address
15:22:58: Vulkan: Found device extension: VK_EXT_calibrated_timestamps
15:22:58: Vulkan: Found device extension: VK_EXT_color_write_enable
15:22:58: Vulkan: Found device extension: VK_EXT_conditional_rendering
15:22:58: Vulkan: Found device extension: VK_EXT_conservative_rasterization
15:22:58: Vulkan: Found device extension: VK_EXT_custom_border_color
15:22:58: Vulkan: Found device extension: VK_EXT_depth_bias_control
15:22:58: Vulkan: Found device extension: VK_EXT_depth_clamp_zero_one
15:22:58: Vulkan: Found device extension: VK_EXT_depth_clip_control
15:22:58: Vulkan: Found device extension: VK_EXT_depth_clip_enable
15:22:58: Vulkan: Found device extension: VK_EXT_depth_range_unrestricted
15:22:58: Vulkan: Found device extension: VK_EXT_descriptor_buffer
15:22:58: Vulkan: Found device extension: VK_EXT_descriptor_indexing
15:22:58: Vulkan: Found device extension: VK_EXT_device_fault
15:22:58: Vulkan: Found device extension: VK_EXT_discard_rectangles
15:22:58: Vulkan: Found device extension: VK_EXT_dynamic_rendering_unused_attachments
15:22:58: Vulkan: Found device extension: VK_EXT_extended_dynamic_state
15:22:58: Vulkan: Found device extension: VK_EXT_extended_dynamic_state2
15:22:58: Vulkan: Found device extension: VK_EXT_extended_dynamic_state3
15:22:58: Vulkan: Found device extension: VK_EXT_external_memory_host
15:22:58: Vulkan: Found device extension: VK_EXT_fragment_shader_interlock
15:22:58: Vulkan: Found device extension: VK_EXT_full_screen_exclusive
15:22:58: Vulkan: Found device extension: VK_EXT_global_priority
15:22:58: Vulkan: Found device extension: VK_EXT_global_priority_query
15:22:58: Vulkan: Found device extension: VK_EXT_graphics_pipeline_library
15:22:58: Vulkan: Found device extension: VK_EXT_hdr_metadata
15:22:58: Vulkan: Found device extension: VK_EXT_host_image_copy
15:22:58: Vulkan: Found device extension: VK_EXT_host_query_reset
15:22:58: Vulkan: Found device extension: VK_EXT_image_2d_view_of_3d
15:22:58: Vulkan: Found device extension: VK_EXT_image_robustness
15:22:58: Vulkan: Found device extension: VK_EXT_image_sliced_view_of_3d
15:22:58: Vulkan: Found device extension: VK_EXT_image_view_min_lod
15:22:58: Vulkan: Found device extension: VK_EXT_index_type_uint8
15:22:58: Vulkan: Found device extension: VK_EXT_inline_uniform_block
15:22:58: Vulkan: Found device extension: VK_EXT_legacy_vertex_attributes
15:22:58: Vulkan: Found device extension: VK_EXT_line_rasterization
15:22:58: Vulkan: Found device extension: VK_EXT_load_store_op_none
15:22:58: Vulkan: Found device extension: VK_EXT_memory_budget
15:22:58: Vulkan: Found device extension: VK_EXT_memory_priority
15:22:58: Vulkan: Found device extension: VK_EXT_mesh_shader
15:22:58: Vulkan: Found device extension: VK_EXT_multi_draw
15:22:58: Vulkan: Found device extension: VK_EXT_mutable_descriptor_type
15:22:58: Vulkan: Found device extension: VK_EXT_nested_command_buffer
15:22:58: Vulkan: Found device extension: VK_EXT_non_seamless_cube_map
15:22:58: Vulkan: Found device extension: VK_EXT_opacity_micromap
15:22:58: Vulkan: Found device extension: VK_EXT_pageable_device_local_memory
15:22:58: Vulkan: Found device extension: VK_EXT_pci_bus_info
15:22:58: Vulkan: Found device extension: VK_EXT_pipeline_creation_cache_control
15:22:58: Vulkan: Found device extension: VK_EXT_pipeline_creation_feedback
15:22:58: Vulkan: Found device extension: VK_EXT_pipeline_library_group_handles
15:22:58: Vulkan: Found device extension: VK_EXT_pipeline_robustness
15:22:58: Vulkan: Found device extension: VK_EXT_post_depth_coverage
15:22:58: Vulkan: Found device extension: VK_EXT_primitive_topology_list_restart
15:22:58: Vulkan: Found device extension: VK_EXT_primitives_generated_query
15:22:58: Vulkan: Found device extension: VK_EXT_private_data
15:22:58: Vulkan: Found device extension: VK_EXT_provoking_vertex
15:22:58: Vulkan: Found device extension: VK_EXT_queue_family_foreign
15:22:58: Vulkan: Found device extension: VK_EXT_robustness2
15:22:58: Vulkan: Found device extension: VK_EXT_sample_locations
15:22:58: Vulkan: Found device extension: VK_EXT_sampler_filter_minmax
15:22:58: Vulkan: Found device extension: VK_EXT_scalar_block_layout
15:22:58: Vulkan: Found device extension: VK_EXT_separate_stencil_usage
15:22:58: Vulkan: Found device extension: VK_EXT_shader_atomic_float
15:22:58: Vulkan: Found device extension: VK_EXT_shader_demote_to_helper_invocation
15:22:58: Vulkan: Found device extension: VK_EXT_shader_image_atomic_int64
15:22:58: Vulkan: Found device extension: VK_EXT_shader_module_identifier
15:22:58: Vulkan: Found device extension: VK_EXT_shader_object
15:22:58: Vulkan: Found device extension: VK_EXT_shader_replicated_composites
15:22:58: Vulkan: Found device extension: VK_EXT_shader_subgroup_ballot
15:22:58: Vulkan: Found device extension: VK_EXT_shader_subgroup_vote
15:22:58: Vulkan: Found device extension: VK_EXT_shader_viewport_index_layer
15:22:58: Vulkan: Found device extension: VK_EXT_subgroup_size_control
15:22:58: Vulkan: Found device extension: VK_EXT_swapchain_maintenance1
15:22:58: Vulkan: Found device extension: VK_EXT_texel_buffer_alignment
15:22:58: Vulkan: Found device extension: VK_EXT_tooling_info
15:22:58: Vulkan: Found device extension: VK_EXT_transform_feedback
15:22:58: Vulkan: Found device extension: VK_EXT_vertex_attribute_divisor
15:22:58: Vulkan: Found device extension: VK_EXT_vertex_input_dynamic_state
15:22:58: Vulkan: Found device extension: VK_EXT_ycbcr_2plane_444_formats
15:22:58: Vulkan: Found device extension: VK_EXT_ycbcr_image_arrays
15:22:58: Vulkan: Found device extension: VK_NV_acquire_winrt_display
15:22:58: Vulkan: Found device extension: VK_NV_clip_space_w_scaling
15:22:58: Vulkan: Found device extension: VK_NV_compute_shader_derivatives
15:22:58: Vulkan: Found device extension: VK_NV_cooperative_matrix
15:22:58: Vulkan: Found device extension: VK_NV_copy_memory_indirect
15:22:58: Vulkan: Found device extension: VK_NV_corner_sampled_image
15:22:58: Vulkan: Found device extension: VK_NV_coverage_reduction_mode
15:22:58: Vulkan: Found device extension: VK_NV_cuda_kernel_launch
15:22:58: Vulkan: Found device extension: VK_NV_dedicated_allocation
15:22:58: Vulkan: Found device extension: VK_NV_dedicated_allocation_image_aliasing
15:22:58: Vulkan: Found device extension: VK_NV_descriptor_pool_overallocation
15:22:58: Vulkan: Found device extension: VK_NV_device_diagnostic_checkpoints
15:22:58: Vulkan: Found device extension: VK_NV_device_diagnostics_config
15:22:58: Vulkan: Found device extension: VK_NV_device_generated_commands
15:22:58: Vulkan: Found device extension: VK_NV_device_generated_commands_compute
15:22:58: Vulkan: Found device extension: VK_NV_external_memory
15:22:58: Vulkan: Found device extension: VK_NV_external_memory_win32
15:22:58: Vulkan: Found device extension: VK_NV_fill_rectangle
15:22:58: Vulkan: Found device extension: VK_NV_fragment_coverage_to_color
15:22:58: Vulkan: Found device extension: VK_NV_fragment_shader_barycentric
15:22:58: Vulkan: Found device extension: VK_NV_fragment_shading_rate_enums
15:22:58: Vulkan: Found device extension: VK_NV_framebuffer_mixed_samples
15:22:58: Vulkan: Found device extension: VK_NV_geometry_shader_passthrough
15:22:58: Vulkan: Found device extension: VK_NV_inherited_viewport_scissor
15:22:58: Vulkan: Found device extension: VK_NV_linear_color_attachment
15:22:58: Vulkan: Found device extension: VK_NV_low_latency
15:22:58: Vulkan: Found device extension: VK_NV_low_latency2
15:22:58: Vulkan: Found device extension: VK_NV_memory_decompression
15:22:58: Vulkan: Found device extension: VK_NV_mesh_shader
15:22:58: Vulkan: Found device extension: VK_NV_raw_access_chains
15:22:58: Vulkan: Found device extension: VK_NV_ray_tracing
15:22:58: Vulkan: Found device extension: VK_NV_ray_tracing_invocation_reorder
15:22:58: Vulkan: Found device extension: VK_NV_representative_fragment_test
15:22:58: Vulkan: Found device extension: VK_NV_sample_mask_override_coverage
15:22:58: Vulkan: Found device extension: VK_NV_scissor_exclusive
15:22:58: Vulkan: Found device extension: VK_NV_shader_atomic_float16_vector
15:22:58: Vulkan: Found device extension: VK_NV_shader_image_footprint
15:22:58: Vulkan: Found device extension: VK_NV_shader_sm_builtins
15:22:58: Vulkan: Found device extension: VK_NV_shader_subgroup_partitioned
15:22:58: Vulkan: Found device extension: VK_NV_shading_rate_image
15:22:58: Vulkan: Found device extension: VK_NV_viewport_array2
15:22:58: Vulkan: Found device extension: VK_NV_viewport_swizzle
15:22:58: Vulkan: Found device extension: VK_NV_win32_keyed_mutex
15:22:58: Vulkan: Found device extension: VK_NVX_binary_import
15:22:58: Vulkan: Found device extension: VK_NVX_image_view_handle
15:22:58: Vulkan: Found device extension: VK_NVX_multiview_per_view_attributes
15:22:58: Vulkan: Found device extension: VK_AMD_buffer_marker
15:22:58: Vulkan: Found device extension: VK_GOOGLE_user_type
15:22:58: Vulkan: Requesting device extension: VK_KHR_16bit_storage
15:22:58: Vulkan: Requesting device extension: VK_KHR_maintenance2
15:22:58: Vulkan: Requesting device extension: VK_KHR_shader_float16_int8
15:22:58: Vulkan: Requesting device extension: VK_KHR_storage_buffer_storage_class
15:22:58: Vulkan: Requesting device extension: VK_EXT_shader_subgroup_vote
15:22:58: Vulkan: Requesting device extension: VK_EXT_shader_viewport_index_layer
15:22:58: Vulkan: Requesting device extension: VK_KHR_swapchain
15:22:58: Vulkan: Requesting device extension: VK_EXT_debug_marker
15:22:58: Vulkan: API Version: 1.3.289 (0x403121)
15:22:58: Vulkan: Driver Version (raw): 0x8d890000
15:22:58: Vulkan: Vendor ID: 0x10de
15:22:58: Vulkan: Device ID: 0x1f08
15:22:58: Vulkan: Supported memory types for general buffer usage: 59
15:22:58: Vulkan: Supported memory types for reading: 59
15:22:58: Vulkan: VkDevice will use coherent memory buffers: true
15:22:58: Vulkan: VkDevice will use non-coherent memory buffers: false
15:22:58: Vulkan: VkDevice will prefer coherent memory buffers: true
15:22:58: Vulkan: VkDevice will use coherent memory for reading: true
15:22:58: Vulkan: VkDevice read memory is coherent: true
15:22:58: Registering ResourceManager for type GpuProgram
15:22:58: RenderSystem capabilities
15:22:58: -------------------------
15:22:58: RenderSystem Name: Vulkan Rendering Subsystem
15:22:58: GPU Vendor: nvidia
15:22:58: Device Name: NVIDIA GeForce RTX 2060
15:22:58: Driver Version: 566.36.0.0
15:22:58:  * Fixed function pipeline: no
15:22:58:  * Hardware generation of mipmaps: yes
15:22:58:  * Texture blending: yes
15:22:58:  * Anisotropic texture filtering: yes
15:22:58:  * Dot product texture operation: yes
15:22:58:  * Cube mapping: yes
15:22:58:  * Hardware stencil buffer: yes
15:22:58:    - Stencil depth: 8
15:22:58:    - Two sided stencil support: yes
15:22:58:    - Wrap stencil values: yes
15:22:58:  * Hardware vertex / index buffers: yes
15:22:58:  * 32-bit index buffers: yes
15:22:58:  * Vertex programs: no
15:22:58:  * Number of floating-point constants for vertex programs: 256
15:22:58:  * Number of integer constants for vertex programs: 256
15:22:58:  * Number of boolean constants for vertex programs: 256
15:22:58:  * Fragment programs: no
15:22:58:  * Number of floating-point constants for fragment programs: 256
15:22:58:  * Number of integer constants for fragment programs: 256
15:22:58:  * Number of boolean constants for fragment programs: 256
15:22:58:  * Geometry programs: no
15:22:58:  * Number of floating-point constants for geometry programs: 256
15:22:58:  * Number of integer constants for geometry programs: 256
15:22:58:  * Number of boolean constants for geometry programs: 256
15:22:58:  * Tessellation Hull programs: no
15:22:58:  * Number of floating-point constants for tessellation hull programs: 256
15:22:58:  * Number of integer constants for tessellation hull programs: 256
15:22:58:  * Number of boolean constants for tessellation hull programs: 256
15:22:58:  * Tessellation Domain programs: no
15:22:58:  * Number of floating-point constants for tessellation domain programs: 256
15:22:58:  * Number of integer constants for tessellation domain programs: 256
15:22:58:  * Number of boolean constants for tessellation domain programs: 256
15:22:58:  * Compute programs: yes
15:22:58:  * Number of floating-point constants for compute programs: 256
15:22:58:  * Number of integer constants for compute programs: 256
15:22:58:  * Number of boolean constants for compute programs: 256
15:22:58:  * Supported Shader Profiles: glsl glslvk hlsl hlslvk
15:22:58:  * Texture Compression: yes
15:22:58:    - DXT: yes
15:22:58:    - VTC: no
15:22:58:    - PVRTC: no
15:22:58:    - ATC: no
15:22:58:    - ETC1: no
15:22:58:    - ETC2: no
15:22:58:    - BC4/BC5: yes
15:22:58:    - BC6H/BC7: yes
15:22:58:    - ASTC: no
15:22:58:  * Hardware Occlusion Query: no
15:22:58:  * User clip planes: yes
15:22:58:  * VET_UBYTE4 vertex element type: yes
15:22:58:  * Infinite far plane projection: yes
15:22:58:  * Hardware render-to-texture: yes
15:22:58:  * Floating point textures: yes
15:22:58:  * Non-power-of-two textures: yes
15:22:58:  * 1d textures: yes
15:22:58:  * Volume textures: yes
15:22:58:  * Max Texture resolution (2D) 16384
15:22:58:  * Max Texture resolution (3D) 4096
15:22:58:  * Max Texture resolution (Cubemaps) 16384
15:22:58:  * Multiple Render Targets: 1
15:22:58:    - With different bit depths: no
15:22:58:  * Point Sprites: yes
15:22:58:  * Extended point parameters: yes
15:22:58:  * Max Point Size: 256
15:22:58:  * Vertex texture fetch: no
15:22:58:  * Number of world matrices: 0
15:22:58:  * Number of texture units: 32
15:22:58:  * Stencil buffer depth: 8
15:22:58:  * Number of vertex blend matrices: 0
15:22:58:  * Render to Vertex Buffer : no
15:22:58:  * Hardware Atomic Counters: no
15:22:58:  * Shader 16-bit floating point (half): no
15:22:58:  * Compute max threads per threadgroup per axis: 1024, 1024, 64
15:22:58:  * Compute max threads per threadgroup total: 1024
15:22:58:  * Using Reverse Z: yes
15:22:58: Device is NOT tiler. TilerMemoryless flag will be ignored.
15:22:58: Trying presentMode = IMMEDIATE_KHR
15:22:58: Chosen presentMode = IMMEDIATE_KHR
15:22:58: surfaceCaps.currentTransform = 1
15:22:58: DefaultWorkQueue('Root') initialising on thread main.
15:22:58:  _hlmsMacroblockCreated 
15:22:58:  _hlmsBlendblockCreated 
15:22:58: Particle Renderer Type 'billboard' registered
15:22:58: OverlayElementFactory for type Panel registered.
15:22:58: OverlayElementFactory for type BorderPanel registered.
15:22:58: OverlayElementFactory for type TextArea registered.
15:22:58: Registering ResourceManager for type Font
15:22:58: Creating resource group Essential
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/packs/DebugPack.zip' of type 'Zip' to resource group 'Essential'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/packs/CornellBox.zip' of type 'Zip' to resource group 'Essential'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/2.0/scripts/materials/Common/Any' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/2.0/scripts/materials/Common/HLSL' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/2.0/scripts/materials/Common/Metal' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/Hlms/Common/Any' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/Hlms/Common/GLSL' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/Hlms/Common/HLSL' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/Hlms/Common/Metal' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/Compute/Algorithms/IBL' of type 'FileSystem' to resource group 'General'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/Compute/Tools/Any' of type 'FileSystem' to resource group 'General'
15:22:58: Creating resource group Popular
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'Popular'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/models' of type 'FileSystem' to resource group 'Popular'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'Popular'
15:22:58: Added resource location 'D:/MoreCode/Ogre/ogre-next-fork/Samples/Media/materials/textures/Cubemaps' of type 'FileSystem' to resource group 'Popular'
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Loading HlmsDiskCache from hlmsDiskCache1.bin
15:22:58:  _hlmsMacroblockCreated 
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Applying HlmsDiskCache 1
15:22:58: INFO: The cached Hlms is for shader profile in 'hlsl' but it does not match the current one 'glslvk'. HlmsDiskCache won't be applied.
15:22:58: Loading HlmsDiskCache from hlmsDiskCache3.bin
15:22:58:  _hlmsMacroblockCreated 
15:22:58:  _hlmsMacroblockCreated 
15:22:58:  _hlmsBlendblockCreated 
15:22:58: Applying HlmsDiskCache 3
15:22:58: INFO: The cached Hlms is for shader profile in 'hlsl' but it does not match the current one 'glslvk'. HlmsDiskCache won't be applied.
15:22:58: Parsing scripts for resource group Autodetect
15:22:58: Finished parsing scripts for resource group Autodetect
15:22:58: Creating resources for group Autodetect
15:22:58: All done
15:22:58: Parsing scripts for resource group Essential
15:22:58: Parsing script Materials.material
15:22:58: Parsing script CornellBox.material.json
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Parsing script DebugFont.fontdef
15:22:58: Finished parsing scripts for resource group Essential
15:22:58: Creating resources for group Essential
15:22:58: All done
15:22:58: Parsing scripts for resource group General
15:22:58: Parsing script Quad.program
15:22:58: Shader Ogre/Compositor/Quad_vs_VK was in microcode cache.
15:22:58: Shader Ogre/Compositor/QuadCameraDir_vs_VK was in microcode cache.
15:22:58: Shader Ogre/Compositor/QuadCameraDirNoUV_vs_VK was in microcode cache.
15:22:58: Parsing script Atmosphere.material
15:22:58: Shader Ogre/Atmo/NprSky_ps_VK was in microcode cache.
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Parsing script Copyback.material
15:22:58: Shader Ogre/Copy/4xFP32_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Shader Ogre/Copy/4xFP32_2DArray_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Shader Ogre/Copy/1xFP32_ps_VK was in microcode cache.
15:22:58: Shader Ogre/Resolve/1xFP32_Subsample0_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Parsing script DepthUtils.material
15:22:58: Shader Ogre/Depth/DownscaleMax_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Shader Ogre/Depth/DownscaleMax_Subsample0_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Parsing script DPM.material
15:22:58: Shader Ogre/DPM/CubeToDpm_4xFP16_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Parsing script DPSM.material
15:22:58: Shader Ogre/DPSM/CubeToDpsm_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Shader Ogre/DPSM/CubeToDpsm_Colour_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Parsing script EsmGaussianBlurLogFilter.material
15:22:58: Shader ESM/GaussianLogFilterH_ps_VK was in microcode cache.
15:22:58: Shader ESM/GaussianLogFilterV_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Parsing script HiddenAreaMeshVr.material
15:22:58: Shader Ogre/VR/HiddenAreaMeshVr_vs_VK was in microcode cache.
15:22:58: Shader Ogre/VR/HiddenAreaMeshVr_ps_VK was in microcode cache.
15:22:58:  _hlmsBlendblockCreated 
15:22:58: Parsing script PccDepthCompressor.material
15:22:58: Shader PccDepthCompressor_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsBlendblockCreated 
15:22:58: Parsing script RadialDensityMask.material
15:22:58: Shader Ogre/Compositor/RadialDensityMask_vs_VK was in microcode cache.
15:22:58: Shader Ogre/VR/RadialDensityMask_ps_VK was in microcode cache.
15:22:58:  _hlmsMacroblockCreated 
15:22:58: Parsing script Sky.material
15:22:58: Shader Ogre/Sky/Cubemap_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Shader Ogre/Sky/Equirectangular_ps_VK was in microcode cache.
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Parsing script EsmGaussianBlurLogFilter.material.json
15:22:58:  _hlmsSamplerblockCreated 
15:22:58: Parsing script Mipmaps.material.json
15:22:58: Parsing script IBL.material.json
15:22:58: Finished parsing scripts for resource group General
15:22:58: Creating resources for group General
15:22:58: All done
15:22:58: Parsing scripts for resource group Internal
15:22:58: Finished parsing scripts for resource group Internal
15:22:58: Creating resources for group Internal
15:22:58: All done
15:22:58: Parsing scripts for resource group Popular
15:22:58: Parsing script InstancedStereo.compositor
15:22:58: Parsing script IrradianceFieldRaster.compositor
15:22:58: Parsing script LocalCubemaps.compositor
15:22:58: Parsing script PbsMaterials.compositor
15:22:58: Parsing script PlanarReflections.compositor
15:22:58: Parsing script Refractions.compositor
15:22:58: Parsing script ScreenSpaceReflections.compositor
15:22:58: Parsing script ShadowMapDebugging.compositor
15:22:58: Parsing script StaticShadowMaps.compositor
15:22:58: Parsing script StencilTest.compositor
15:22:58: Parsing script StereoRendering.compositor
15:22:58: Parsing script TutorialSky_Postprocess.compositor
15:22:58: Parsing script TutorialUav01_Setup.compositor
15:22:58: Parsing script TutorialUav02_Setup.compositor
15:22:58: Parsing script Tutorial_DynamicCubemap.compositor
15:22:58: Parsing script Tutorial_OpenVRWorkspace.compositor
15:22:58: Parsing script Tutorial_ReconstructPosFromDepth.compositor
15:22:58: Parsing script Tutorial_Terrain.compositor
15:22:58: Parsing script UvBaking.compositor
15:22:58: Finished parsing scripts for resource group Popular
15:22:58: Creating resources for group Popular
15:22:58: All done
15:22:58: OGRE EXCEPTION(2:InvalidParametersException): Texture 'RenderWindow DepthBuffer' is TilerMemoryless. For store actions it can only use dont_care. Alternatively, launch OgreNext with 'Allow Memoryless RTT' set to No. See Ogre.log for more info. in RenderPassDescriptor::validateMemorylessTexture at D:\MoreCode\Ogre\ogre-next-fork\OgreMain\src\OgreRenderPassDescriptor.cpp (line 194)
15:22:58: The compositor pass 'SCENE 319' from Node: 'AutoGen [Hash 0x9f84f13d]' in Workspace: 'ShadowMapFromCodeWorkspace' threw the following Exception:
15:22:58: WARNING: GraphicsSystem::deinitialize() not called!!!
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5448
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1349

Re: Error involving TilerMemoryless and Vulkan

Post by dark_sylinc »

The samples are hardcoded to ask for a memoryless depth buffer. Set the following to No:

Code: Select all

params.insert( std::make_pair( "memoryless_depth_buffer", "Yes" ) );

The error message says that I should be able to fix it by setting "Allow Memoryless RTT" to NO, but I tried that and the error still remains.

That's weird. That should fix the problem though.

Ahh, I checked the code. No, it's working as intended. That option is meant to prevent specific bugs with tilers. I'll correct the error message.