mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
8111268575
* Add Shared/Std140 SSBO process & top-level array elements related process 1.Add process options for shared/std140 ssbo, following ubo process 2.Add IO Variables reflection option, would keep all input/output variables in reflection 3.Add Top-level related process, fix top-level array size issues, following spec 4.Split ssbo/ubo reflection options, merge blowup expanding all into function blowupActiveAggregate to allow other functions keep same entry format. Add options in StandAlone and test symbols. 1. Add options in StandAlone for std140/shared ubo/ssbo and all io variables reflection. 2. Add test for ssbo. When EShReflectionSharedStd140SSBO turns on, generated symbol and output would be different, to remind the difference. Defaultly disabled and nothing would change, nor blocking normal test. * Add options in runtest script, refresh test results. Add options in StandAlone: --reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo refresh test results. Now the index, size of unsized array are expected.
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
hlsl.reflection.binding.frag
|
|
Uniform reflection:
|
|
t1: offset -1, type 8b5d, size 1, index -1, binding 15, stages 16
|
|
s1: offset -1, type 0, size 1, index -1, binding 5, stages 16
|
|
t1a: offset -1, type 8b5d, size 1, index -1, binding 16, stages 16, arrayStride 4, topLevelArrayStride 4
|
|
s1a: offset -1, type 0, size 1, index -1, binding 6, stages 16, arrayStride 4, topLevelArrayStride 4
|
|
c1_a: offset 0, type 8b52, size 1, index 0, binding -1, stages 16
|
|
c1_b: offset 16, type 1404, size 1, index 0, binding -1, stages 16
|
|
c1_c: offset 20, type 1406, size 1, index 0, binding -1, stages 16
|
|
c2_a: offset 0, type 8b52, size 1, index 1, binding -1, stages 16
|
|
c2_b: offset 16, type 1404, size 1, index 1, binding -1, stages 16
|
|
c2_c: offset 20, type 1406, size 1, index 1, binding -1, stages 16
|
|
|
|
Uniform block reflection:
|
|
cbuff1: offset -1, type ffffffff, size 24, index 0, binding 2, stages 16, numMembers 3
|
|
cbuff2: offset -1, type ffffffff, size 24, index 1, binding 3, stages 16, numMembers 3
|
|
|
|
Buffer variable reflection:
|
|
|
|
Buffer block reflection:
|
|
|
|
Pipeline input reflection:
|
|
|
|
Pipeline output reflection:
|
|
psout.Color: offset 0, type 8b52, size 1, index 0, binding -1, stages 16
|
|
|