Closed yillis closed 2 months ago
Looks like the color gbuffer is not rendering correctly under d3d12.
Can you fill out the information that the issue template was asking you to fill?
Can you fill out the information that the issue template was asking you to fill?
Sorry, here are the info.
Diligent Engine: Info: Using adapter 0: 'NVIDIA GeForce RTX 3070'
Diligent Engine: Info: User-defined allocator is not provided. Using default allocator.
Diligent Engine: Info: D3D12-capable adapter found: NVIDIA GeForce RTX 3070 (8032 MB)
Diligent Engine: Info: User-defined allocator is not provided. Using default allocator.
Diligent Engine: Info: Created dynamic memory page. Size: 1.00 MB; GPU virtual address 0x85d6000
Diligent Engine: Info: Max device shader model: 6_6
Diligent Engine: Info: Loaded DX Shader Compiler 1.6. Max supported shader model: 6.6
Diligent Engine: Info: Created dynamic memory page. Size: 1.00 MB; GPU virtual address 0x12900000
Diligent Engine: Info: Created dynamic memory page. Size: 1.00 MB; GPU virtual address 0x112d4000
Diligent Engine: Info: SAMPLER dynamic descriptor allocator of immediate context usage stats: peak descriptor count: 0/0
Diligent Engine: Info: CBV_SRV_UAV dynamic descriptor allocator of immediate context usage stats: peak descriptor count: 1/32
Diligent Engine: Info: Dynamic heap of immediate context usage stats:
Peak used/aligned/allocated size: 27.92 KB / 28.00 KB / 1.00 MB (1 page). Peak efficiency (used/aligned): 99.7%. Peak utilization (used/allocated): 2.7%
Diligent Engine: Info: Dynamic memory manager usage stats:
Total allocated memory: 3.00 MB
Diligent Engine: Info: D3D12 query manager peak usage:
QUERY_TYPE_OCCLUSION : 0/ 128
QUERY_TYPE_BINARY_OCCLUSION : 0/ 128
QUERY_TYPE_TIMESTAMP : 0/ 512
QUERY_TYPE_PIPELINE_STATISTICS: 0/ 128
QUERY_TYPE_DURATION : 0/ 512
Diligent Engine: Info: Command list manager: created 0 allocators
Diligent Engine: Info: Command list manager: created 0 allocators
Diligent Engine: Info: Command list manager: created 12 allocators
Diligent Engine: Info: D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER GPU heap max allocated size (static|dynamic): 4/128 (3.12%) | 0/1920 (0.00%).
Diligent Engine: Info: D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV GPU heap max allocated size (static|dynamic): 18/16384 (0.11%) | 96/32768 (0.29%).
Diligent Engine: Info: D3D12_DESCRIPTOR_HEAP_TYPE_DSV CPU heap allocated pool count: 1. Max descriptors: 2/1024 (0.20%).
Diligent Engine: Info: D3D12_DESCRIPTOR_HEAP_TYPE_RTV CPU heap allocated pool count: 1. Max descriptors: 5/1024 (0.49%).
Diligent Engine: Info: D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER CPU heap allocated pool count: 1. Max descriptors: 2/2048 (0.10%).
Diligent Engine: Info: D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV CPU heap allocated pool count: 1. Max descriptors: 22/8192 (0.27%).
Diligent Engine: Info: Purged 2 deleted objects from the sampler registry
Process finished with exit code 0
- No call stack, progress run fine.
- Error in d3d11 and opengl. Work well on vulkan, result not correct in d3d12.
In tutorial 22.
d3d12:
![image](https://user-images.githubusercontent.com/43308441/233587100-81c4a1ea-4476-4e42-a7ec-112e4f5a8816.png)
vk:
![image](https://user-images.githubusercontent.com/43308441/233587264-0d0b0812-08be-47ee-b66a-01d377a48095.png)