diff options
author | 2016-04-14 17:22:08 +0200 | |
---|---|---|
committer | 2016-04-14 17:22:24 +0200 | |
commit | 99aa7eacd7a2bb7a3711f8ff3f918e8fbe1f2819 (patch) | |
tree | a681a4407878fcf7cc89973e6bb5bc09dcb22c3c /bgfx/effects | |
parent | 0ff1223fe85b054b3b8ef3a8e5ca6ad859154ed8 (diff) |
bgfx: Add data-driven render target clearing [Ryan Holtz]
Diffstat (limited to 'bgfx/effects')
-rw-r--r-- | bgfx/effects/default/blit.json | 8 | ||||
-rw-r--r-- | bgfx/effects/hlsl/blit.json | 8 | ||||
-rw-r--r-- | bgfx/effects/hlsl/color.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/deconverge.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/defocus.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/distortion.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/ntsc_decode.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/ntsc_encode.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/phosphor.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/post.json | 4 | ||||
-rw-r--r-- | bgfx/effects/hlsl/prescale.json | 4 | ||||
-rw-r--r-- | bgfx/effects/unfiltered/blit.json | 8 |
12 files changed, 30 insertions, 30 deletions
diff --git a/bgfx/effects/default/blit.json b/bgfx/effects/default/blit.json index 5f5ad148148..ed957e812b3 100644 --- a/bgfx/effects/default/blit.json +++ b/bgfx/effects/default/blit.json @@ -64,12 +64,12 @@ }, // vertex (required): The vertex shader to use when drawing. - // value: A string containing the name of a shader file to use, minus the extension. - "vertex": "vs_blit", + // value: A string containing the path and name of a shader file to use, minus the extension. + "vertex": "chains/default/vs_blit", // pixel/fragment (required): The pixel or fragment shader to use when drawing. - // value: A string containing the name of a shader file to use, minus the extension. - "fragment": "fs_blit", + // value: A string containing the path and name of a shader file to use, minus the extension. + "fragment": "chains/default/fs_blit", // uniforms (required): The list of uniforms for this effect. Can be empty, but must exist. "uniforms": [ diff --git a/bgfx/effects/hlsl/blit.json b/bgfx/effects/hlsl/blit.json index 5f5ad148148..1ee3243050f 100644 --- a/bgfx/effects/hlsl/blit.json +++ b/bgfx/effects/hlsl/blit.json @@ -64,12 +64,12 @@ }, // vertex (required): The vertex shader to use when drawing. - // value: A string containing the name of a shader file to use, minus the extension. - "vertex": "vs_blit", + // value: A string containing the path and name of a shader file to use, minus the extension. + "vertex": "chains/hlsl/vs_blit", // pixel/fragment (required): The pixel or fragment shader to use when drawing. - // value: A string containing the name of a shader file to use, minus the extension. - "fragment": "fs_blit", + // value: A string containing the path and name of a shader file to use, minus the extension. + "fragment": "chains/hlsl/fs_blit", // uniforms (required): The list of uniforms for this effect. Can be empty, but must exist. "uniforms": [ diff --git a/bgfx/effects/hlsl/color.json b/bgfx/effects/hlsl/color.json index d5a8d6ca405..52ada823a6b 100644 --- a/bgfx/effects/hlsl/color.json +++ b/bgfx/effects/hlsl/color.json @@ -21,8 +21,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_color", - "fragment": "fs_color", + "vertex": "chains/hlsl/vs_color", + "fragment": "chains/hlsl/fs_color", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "u_red_ratios", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/hlsl/deconverge.json b/bgfx/effects/hlsl/deconverge.json index 322a916f47f..df20d8c5069 100644 --- a/bgfx/effects/hlsl/deconverge.json +++ b/bgfx/effects/hlsl/deconverge.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_deconverge", - "fragment": "fs_deconverge", + "vertex": "chains/hlsl/vs_deconverge", + "fragment": "chains/hlsl/fs_deconverge", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "u_source_size", "type": "vec4", "values": [ 256.0, 256.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/hlsl/defocus.json b/bgfx/effects/hlsl/defocus.json index b01112de088..c66408a0ca1 100644 --- a/bgfx/effects/hlsl/defocus.json +++ b/bgfx/effects/hlsl/defocus.json @@ -21,8 +21,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_defocus", - "fragment": "fs_defocus", + "vertex": "chains/hlsl/vs_defocus", + "fragment": "chains/hlsl/fs_defocus", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/hlsl/distortion.json b/bgfx/effects/hlsl/distortion.json index 5eb70fa93d1..42a43d95c65 100644 --- a/bgfx/effects/hlsl/distortion.json +++ b/bgfx/effects/hlsl/distortion.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_distortion", - "fragment": "fs_distortion", + "vertex": "chains/hlsl/vs_distortion", + "fragment": "chains/hlsl/fs_distortion", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 0.0 ] }, { "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/hlsl/ntsc_decode.json b/bgfx/effects/hlsl/ntsc_decode.json index 1195669f450..bb18c3a2e56 100644 --- a/bgfx/effects/hlsl/ntsc_decode.json +++ b/bgfx/effects/hlsl/ntsc_decode.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_ntsc_decode", - "fragment": "fs_ntsc_decode", + "vertex": "chains/hlsl/vs_ntsc_decode", + "fragment": "chains/hlsl/fs_ntsc_decode", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "s_screen", "type": "int", "values": [ 1.0 ] }, diff --git a/bgfx/effects/hlsl/ntsc_encode.json b/bgfx/effects/hlsl/ntsc_encode.json index 1112a21c197..680c14c5931 100644 --- a/bgfx/effects/hlsl/ntsc_encode.json +++ b/bgfx/effects/hlsl/ntsc_encode.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_ntsc_encode", - "fragment": "fs_ntsc_encode", + "vertex": "chains/hlsl/vs_ntsc_encode", + "fragment": "chains/hlsl/fs_ntsc_encode", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/hlsl/phosphor.json b/bgfx/effects/hlsl/phosphor.json index 84ad77ad5ed..f5d9d8572e3 100644 --- a/bgfx/effects/hlsl/phosphor.json +++ b/bgfx/effects/hlsl/phosphor.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_phosphor", - "fragment": "fs_phosphor", + "vertex": "chains/hlsl/vs_phosphor", + "fragment": "chains/hlsl/fs_phosphor", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "s_prev", "type": "int", "values": [ 1.0 ] }, diff --git a/bgfx/effects/hlsl/post.json b/bgfx/effects/hlsl/post.json index 48530433f40..16ebbe01c9f 100644 --- a/bgfx/effects/hlsl/post.json +++ b/bgfx/effects/hlsl/post.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_post", - "fragment": "fs_post", + "vertex": "chains/hlsl/vs_post", + "fragment": "chains/hlsl/fs_post", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 0.0 ] }, { "name": "s_shadow", "type": "int", "values": [ 1.0 ] }, diff --git a/bgfx/effects/hlsl/prescale.json b/bgfx/effects/hlsl/prescale.json index 3026b424876..e58d5ad92dc 100644 --- a/bgfx/effects/hlsl/prescale.json +++ b/bgfx/effects/hlsl/prescale.json @@ -22,8 +22,8 @@ "rgb": true, "alpha": true }, - "vertex": "vs_prescale", - "fragment": "fs_prescale", + "vertex": "chains/hlsl/vs_prescale", + "fragment": "chains/hlsl/fs_prescale", "uniforms": [ { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, { "name": "u_source_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, diff --git a/bgfx/effects/unfiltered/blit.json b/bgfx/effects/unfiltered/blit.json index 5f5ad148148..fe8d78126d2 100644 --- a/bgfx/effects/unfiltered/blit.json +++ b/bgfx/effects/unfiltered/blit.json @@ -64,12 +64,12 @@ }, // vertex (required): The vertex shader to use when drawing. - // value: A string containing the name of a shader file to use, minus the extension. - "vertex": "vs_blit", + // value: A string containing the path and name of a shader file to use, minus the extension. + "vertex": "chains/unfiltered/vs_blit", // pixel/fragment (required): The pixel or fragment shader to use when drawing. - // value: A string containing the name of a shader file to use, minus the extension. - "fragment": "fs_blit", + // value: A string containing the path and name of a shader file to use, minus the extension. + "fragment": "chains/unfiltered/fs_blit", // uniforms (required): The list of uniforms for this effect. Can be empty, but must exist. "uniforms": [ |