diff options
Diffstat (limited to 'bgfx')
-rw-r--r-- | bgfx/effects/hlsl/distortion.json | 2 | ||||
-rw-r--r-- | bgfx/effects/hlsl/post.json | 2 | ||||
-rw-r--r-- | bgfx/shaders/dx11/chains/hlsl/fs_distortion.bin | bin | 3782 -> 4208 bytes | |||
-rw-r--r-- | bgfx/shaders/dx11/chains/hlsl/fs_post.bin | bin | 3630 -> 3735 bytes | |||
-rw-r--r-- | bgfx/shaders/dx9/chains/hlsl/fs_distortion.bin | bin | 2811 -> 3197 bytes | |||
-rw-r--r-- | bgfx/shaders/dx9/chains/hlsl/fs_post.bin | bin | 3139 -> 3372 bytes | |||
-rw-r--r-- | bgfx/shaders/gles/chains/hlsl/fs_distortion.bin | bin | 5285 -> 5935 bytes | |||
-rw-r--r-- | bgfx/shaders/gles/chains/hlsl/fs_post.bin | bin | 5366 -> 5701 bytes | |||
-rw-r--r-- | bgfx/shaders/glsl/chains/hlsl/fs_distortion.bin | bin | 5035 -> 5643 bytes | |||
-rw-r--r-- | bgfx/shaders/glsl/chains/hlsl/fs_post.bin | bin | 5106 -> 5417 bytes | |||
-rw-r--r-- | bgfx/shaders/metal/chains/hlsl/fs_distortion.bin | bin | 5581 -> 6224 bytes | |||
-rw-r--r-- | bgfx/shaders/metal/chains/hlsl/fs_post.bin | bin | 5833 -> 6106 bytes |
12 files changed, 4 insertions, 0 deletions
diff --git a/bgfx/effects/hlsl/distortion.json b/bgfx/effects/hlsl/distortion.json index c459d70a6c3..b3b9b5a581a 100644 --- a/bgfx/effects/hlsl/distortion.json +++ b/bgfx/effects/hlsl/distortion.json @@ -28,7 +28,9 @@ { "name": "s_tex", "type": "int", "values": [ 0.0 ] }, { "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, { "name": "u_screen_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, + { "name": "u_screen_count", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }, { "name": "u_target_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, + { "name": "u_target_scale", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, { "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, { "name": "u_distortion", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] }, { "name": "u_cubic_distortion", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/hlsl/post.json b/bgfx/effects/hlsl/post.json index 1fb934a36c7..db08baa4d82 100644 --- a/bgfx/effects/hlsl/post.json +++ b/bgfx/effects/hlsl/post.json @@ -29,6 +29,8 @@ { "name": "s_shadow", "type": "int", "values": [ 1.0 ] }, { "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, { "name": "u_source_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] }, + { "name": "u_target_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] }, + { "name": "u_target_scale", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, { "name": "u_quad_dims", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] }, { "name": "u_humbar_hertz_rate", "type": "vec4", "values": [ 0.001, 0.0, 0.0, 0.0 ] }, { "name": "u_humbar_alpha", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, diff --git a/bgfx/shaders/dx11/chains/hlsl/fs_distortion.bin b/bgfx/shaders/dx11/chains/hlsl/fs_distortion.bin Binary files differindex 41f4aef5d24..0407e658a50 100644 --- a/bgfx/shaders/dx11/chains/hlsl/fs_distortion.bin +++ b/bgfx/shaders/dx11/chains/hlsl/fs_distortion.bin diff --git a/bgfx/shaders/dx11/chains/hlsl/fs_post.bin b/bgfx/shaders/dx11/chains/hlsl/fs_post.bin Binary files differindex b22fb024fb8..60b08cf3043 100644 --- a/bgfx/shaders/dx11/chains/hlsl/fs_post.bin +++ b/bgfx/shaders/dx11/chains/hlsl/fs_post.bin diff --git a/bgfx/shaders/dx9/chains/hlsl/fs_distortion.bin b/bgfx/shaders/dx9/chains/hlsl/fs_distortion.bin Binary files differindex 445bad83f41..54217cd1127 100644 --- a/bgfx/shaders/dx9/chains/hlsl/fs_distortion.bin +++ b/bgfx/shaders/dx9/chains/hlsl/fs_distortion.bin diff --git a/bgfx/shaders/dx9/chains/hlsl/fs_post.bin b/bgfx/shaders/dx9/chains/hlsl/fs_post.bin Binary files differindex 8cc13a336da..31377efe8c7 100644 --- a/bgfx/shaders/dx9/chains/hlsl/fs_post.bin +++ b/bgfx/shaders/dx9/chains/hlsl/fs_post.bin diff --git a/bgfx/shaders/gles/chains/hlsl/fs_distortion.bin b/bgfx/shaders/gles/chains/hlsl/fs_distortion.bin Binary files differindex fa2f788eecc..a1f750c9aac 100644 --- a/bgfx/shaders/gles/chains/hlsl/fs_distortion.bin +++ b/bgfx/shaders/gles/chains/hlsl/fs_distortion.bin diff --git a/bgfx/shaders/gles/chains/hlsl/fs_post.bin b/bgfx/shaders/gles/chains/hlsl/fs_post.bin Binary files differindex a48adbecf4f..3f4b0d6397c 100644 --- a/bgfx/shaders/gles/chains/hlsl/fs_post.bin +++ b/bgfx/shaders/gles/chains/hlsl/fs_post.bin diff --git a/bgfx/shaders/glsl/chains/hlsl/fs_distortion.bin b/bgfx/shaders/glsl/chains/hlsl/fs_distortion.bin Binary files differindex 15f466dbc53..bb7ab279101 100644 --- a/bgfx/shaders/glsl/chains/hlsl/fs_distortion.bin +++ b/bgfx/shaders/glsl/chains/hlsl/fs_distortion.bin diff --git a/bgfx/shaders/glsl/chains/hlsl/fs_post.bin b/bgfx/shaders/glsl/chains/hlsl/fs_post.bin Binary files differindex 2bfa4c7145f..887cf531e21 100644 --- a/bgfx/shaders/glsl/chains/hlsl/fs_post.bin +++ b/bgfx/shaders/glsl/chains/hlsl/fs_post.bin diff --git a/bgfx/shaders/metal/chains/hlsl/fs_distortion.bin b/bgfx/shaders/metal/chains/hlsl/fs_distortion.bin Binary files differindex 2ea407b3195..d33db30a83c 100644 --- a/bgfx/shaders/metal/chains/hlsl/fs_distortion.bin +++ b/bgfx/shaders/metal/chains/hlsl/fs_distortion.bin diff --git a/bgfx/shaders/metal/chains/hlsl/fs_post.bin b/bgfx/shaders/metal/chains/hlsl/fs_post.bin Binary files differindex ab0fc156fd5..b6c6bd79b8e 100644 --- a/bgfx/shaders/metal/chains/hlsl/fs_post.bin +++ b/bgfx/shaders/metal/chains/hlsl/fs_post.bin |