diff options
| author | Anders Leino <aleino@nvidia.com> | 2025-03-12 13:44:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-12 13:44:57 +0200 |
| commit | f4d5372d3354e62770b076b47892b5172223e98a (patch) | |
| tree | 48220e9716dd585ffa64635e977df2878fc63bdc /tests/bugs | |
| parent | 7a942cfdc338d199b8e775d16b0b9b49699363d7 (diff) | |
Migrate render-test away from deprecated compile request API (#6514)
* Add a simple interface parameter test
Since there's no documentation, it's nice to have a simple test case in order to
experiment with this feature of the testing framework.
* Add shader entry point attributes to tests
* Fix specialization arguments for tests
- Add some missing arguments
- Rremove one extraneous argument.
* Stop using deprecated compile request in render-test
Use a session object instead of the deprecated compile request object.
This closes issue #4760.
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/texture2d-gather.hlsl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/bugs/texture2d-gather.hlsl b/tests/bugs/texture2d-gather.hlsl index 7344d863d..46f921b26 100644 --- a/tests/bugs/texture2d-gather.hlsl +++ b/tests/bugs/texture2d-gather.hlsl @@ -31,6 +31,7 @@ struct VertexStageOutput float4 position : SV_Position; }; +[shader("vertex")] VertexStageOutput vertexMain(VertexStageInput input) { VertexStageOutput output; @@ -41,7 +42,7 @@ VertexStageOutput vertexMain(VertexStageInput input) return output; } -// Fragment Shader +[shader("fragment")] float4 fragmentMain(VertexStageOutput input) : SV_Target { return g_texture.GatherRed(g_sampler, input.color.xy); |
