diff --git a/examples/39-assao/screenshot.png b/examples/39-assao/screenshot.png new file mode 100644 index 000000000..9cec62223 Binary files /dev/null and b/examples/39-assao/screenshot.png differ diff --git a/examples/runtime/shaders/dx11/cs_assao_apply.bin b/examples/runtime/shaders/dx11/cs_assao_apply.bin new file mode 100644 index 000000000..fdd6bb65f Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_apply.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_generate_importance_map.bin b/examples/runtime/shaders/dx11/cs_assao_generate_importance_map.bin new file mode 100644 index 000000000..fcc1c197a Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_generate_importance_map.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_generate_q0.bin b/examples/runtime/shaders/dx11/cs_assao_generate_q0.bin new file mode 100644 index 000000000..466468d22 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_generate_q0.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_generate_q1.bin b/examples/runtime/shaders/dx11/cs_assao_generate_q1.bin new file mode 100644 index 000000000..fe8872a54 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_generate_q1.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_generate_q2.bin b/examples/runtime/shaders/dx11/cs_assao_generate_q2.bin new file mode 100644 index 000000000..cd0a74de8 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_generate_q2.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_generate_q3.bin b/examples/runtime/shaders/dx11/cs_assao_generate_q3.bin new file mode 100644 index 000000000..a26eb577b Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_generate_q3.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_generate_q3base.bin b/examples/runtime/shaders/dx11/cs_assao_generate_q3base.bin new file mode 100644 index 000000000..aad9afd7a Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_generate_q3base.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_load_counter_clear.bin b/examples/runtime/shaders/dx11/cs_assao_load_counter_clear.bin new file mode 100644 index 000000000..8541bfc92 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_load_counter_clear.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_non_smart_apply.bin b/examples/runtime/shaders/dx11/cs_assao_non_smart_apply.bin new file mode 100644 index 000000000..460f84588 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_non_smart_apply.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_non_smart_blur.bin b/examples/runtime/shaders/dx11/cs_assao_non_smart_blur.bin new file mode 100644 index 000000000..f89ef75a7 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_non_smart_blur.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_non_smart_half_apply.bin b/examples/runtime/shaders/dx11/cs_assao_non_smart_half_apply.bin new file mode 100644 index 000000000..ce6886e21 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_non_smart_half_apply.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_postprocess_importance_map_a.bin b/examples/runtime/shaders/dx11/cs_assao_postprocess_importance_map_a.bin new file mode 100644 index 000000000..b197c027b Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_postprocess_importance_map_a.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_postprocess_importance_map_b.bin b/examples/runtime/shaders/dx11/cs_assao_postprocess_importance_map_b.bin new file mode 100644 index 000000000..69faebd10 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_postprocess_importance_map_b.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_prepare_depth_mip.bin b/examples/runtime/shaders/dx11/cs_assao_prepare_depth_mip.bin new file mode 100644 index 000000000..901cfb04b Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_prepare_depth_mip.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_prepare_depths.bin b/examples/runtime/shaders/dx11/cs_assao_prepare_depths.bin new file mode 100644 index 000000000..a4a3c2eee Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_prepare_depths.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_prepare_depths_and_normals.bin b/examples/runtime/shaders/dx11/cs_assao_prepare_depths_and_normals.bin new file mode 100644 index 000000000..bb6ad9291 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_prepare_depths_and_normals.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_prepare_depths_and_normals_half.bin b/examples/runtime/shaders/dx11/cs_assao_prepare_depths_and_normals_half.bin new file mode 100644 index 000000000..7e48f3b99 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_prepare_depths_and_normals_half.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_prepare_depths_half.bin b/examples/runtime/shaders/dx11/cs_assao_prepare_depths_half.bin new file mode 100644 index 000000000..5c1859e87 Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_prepare_depths_half.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_smart_blur.bin b/examples/runtime/shaders/dx11/cs_assao_smart_blur.bin new file mode 100644 index 000000000..2b14e06ad Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_smart_blur.bin differ diff --git a/examples/runtime/shaders/dx11/cs_assao_smart_blur_wide.bin b/examples/runtime/shaders/dx11/cs_assao_smart_blur_wide.bin new file mode 100644 index 000000000..5ad198f0a Binary files /dev/null and b/examples/runtime/shaders/dx11/cs_assao_smart_blur_wide.bin differ diff --git a/examples/runtime/shaders/dx11/fs_assao_deferred_combine.bin b/examples/runtime/shaders/dx11/fs_assao_deferred_combine.bin new file mode 100644 index 000000000..d80c9be53 Binary files /dev/null and b/examples/runtime/shaders/dx11/fs_assao_deferred_combine.bin differ diff --git a/examples/runtime/shaders/dx11/fs_assao_gbuffer.bin b/examples/runtime/shaders/dx11/fs_assao_gbuffer.bin new file mode 100644 index 000000000..d723252cf Binary files /dev/null and b/examples/runtime/shaders/dx11/fs_assao_gbuffer.bin differ diff --git a/examples/runtime/shaders/dx11/vs_assao.bin b/examples/runtime/shaders/dx11/vs_assao.bin new file mode 100644 index 000000000..15134f922 Binary files /dev/null and b/examples/runtime/shaders/dx11/vs_assao.bin differ diff --git a/examples/runtime/shaders/dx11/vs_assao_gbuffer.bin b/examples/runtime/shaders/dx11/vs_assao_gbuffer.bin new file mode 100644 index 000000000..a4d2adc9b Binary files /dev/null and b/examples/runtime/shaders/dx11/vs_assao_gbuffer.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_apply.bin b/examples/runtime/shaders/glsl/cs_assao_apply.bin new file mode 100644 index 000000000..b930b502a Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_apply.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_generate_importance_map.bin b/examples/runtime/shaders/glsl/cs_assao_generate_importance_map.bin new file mode 100644 index 000000000..3ad06df5e Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_generate_importance_map.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_generate_q0.bin b/examples/runtime/shaders/glsl/cs_assao_generate_q0.bin new file mode 100644 index 000000000..9e3cab2a1 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_generate_q0.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_generate_q1.bin b/examples/runtime/shaders/glsl/cs_assao_generate_q1.bin new file mode 100644 index 000000000..49c18dfba Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_generate_q1.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_generate_q2.bin b/examples/runtime/shaders/glsl/cs_assao_generate_q2.bin new file mode 100644 index 000000000..25c0e834a Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_generate_q2.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_generate_q3.bin b/examples/runtime/shaders/glsl/cs_assao_generate_q3.bin new file mode 100644 index 000000000..9eba60b13 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_generate_q3.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_generate_q3base.bin b/examples/runtime/shaders/glsl/cs_assao_generate_q3base.bin new file mode 100644 index 000000000..6f8e34cc1 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_generate_q3base.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_load_counter_clear.bin b/examples/runtime/shaders/glsl/cs_assao_load_counter_clear.bin new file mode 100644 index 000000000..9802ebee1 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_load_counter_clear.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_non_smart_apply.bin b/examples/runtime/shaders/glsl/cs_assao_non_smart_apply.bin new file mode 100644 index 000000000..1f6ca4665 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_non_smart_apply.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_non_smart_blur.bin b/examples/runtime/shaders/glsl/cs_assao_non_smart_blur.bin new file mode 100644 index 000000000..f57f8297a Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_non_smart_blur.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_non_smart_half_apply.bin b/examples/runtime/shaders/glsl/cs_assao_non_smart_half_apply.bin new file mode 100644 index 000000000..f00027dfa Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_non_smart_half_apply.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_postprocess_importance_map_a.bin b/examples/runtime/shaders/glsl/cs_assao_postprocess_importance_map_a.bin new file mode 100644 index 000000000..d4590ae37 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_postprocess_importance_map_a.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_postprocess_importance_map_b.bin b/examples/runtime/shaders/glsl/cs_assao_postprocess_importance_map_b.bin new file mode 100644 index 000000000..100ebe53d Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_postprocess_importance_map_b.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_prepare_depth_mip.bin b/examples/runtime/shaders/glsl/cs_assao_prepare_depth_mip.bin new file mode 100644 index 000000000..e804014f4 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_prepare_depth_mip.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_prepare_depths.bin b/examples/runtime/shaders/glsl/cs_assao_prepare_depths.bin new file mode 100644 index 000000000..e4fc742bb Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_prepare_depths.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_prepare_depths_and_normals.bin b/examples/runtime/shaders/glsl/cs_assao_prepare_depths_and_normals.bin new file mode 100644 index 000000000..fc6396269 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_prepare_depths_and_normals.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_prepare_depths_and_normals_half.bin b/examples/runtime/shaders/glsl/cs_assao_prepare_depths_and_normals_half.bin new file mode 100644 index 000000000..cb90497df Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_prepare_depths_and_normals_half.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_prepare_depths_half.bin b/examples/runtime/shaders/glsl/cs_assao_prepare_depths_half.bin new file mode 100644 index 000000000..1c5e5fac3 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_prepare_depths_half.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_smart_blur.bin b/examples/runtime/shaders/glsl/cs_assao_smart_blur.bin new file mode 100644 index 000000000..e00c98b58 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_smart_blur.bin differ diff --git a/examples/runtime/shaders/glsl/cs_assao_smart_blur_wide.bin b/examples/runtime/shaders/glsl/cs_assao_smart_blur_wide.bin new file mode 100644 index 000000000..37f218e42 Binary files /dev/null and b/examples/runtime/shaders/glsl/cs_assao_smart_blur_wide.bin differ diff --git a/examples/runtime/shaders/glsl/fs_assao_deferred_combine.bin b/examples/runtime/shaders/glsl/fs_assao_deferred_combine.bin new file mode 100644 index 000000000..892f6eca0 Binary files /dev/null and b/examples/runtime/shaders/glsl/fs_assao_deferred_combine.bin differ diff --git a/examples/runtime/shaders/glsl/fs_assao_gbuffer.bin b/examples/runtime/shaders/glsl/fs_assao_gbuffer.bin new file mode 100644 index 000000000..b1bf45a41 Binary files /dev/null and b/examples/runtime/shaders/glsl/fs_assao_gbuffer.bin differ diff --git a/examples/runtime/shaders/glsl/vs_assao.bin b/examples/runtime/shaders/glsl/vs_assao.bin new file mode 100644 index 000000000..368f86e39 Binary files /dev/null and b/examples/runtime/shaders/glsl/vs_assao.bin differ diff --git a/examples/runtime/shaders/glsl/vs_assao_gbuffer.bin b/examples/runtime/shaders/glsl/vs_assao_gbuffer.bin new file mode 100644 index 000000000..617cad956 Binary files /dev/null and b/examples/runtime/shaders/glsl/vs_assao_gbuffer.bin differ diff --git a/scripts/genie.lua b/scripts/genie.lua index 05bc71359..c5728f006 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -448,6 +448,7 @@ or _OPTIONS["with-combined-examples"] then , "36-sky" , "37-gpudrivenrendering" , "38-bloom" + , "39-assao" ) -- C99 source doesn't compile under WinRT settings