mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 13:56:59 +01:00
tests: exercise full graphics binding preparation before scratch checks
This commit is contained in:
@@ -2132,6 +2132,8 @@ public:
|
|||||||
pixel_snapshot.user_data = {0x77777777u, 0x88888888u};
|
pixel_snapshot.user_data = {0x77777777u, 0x88888888u};
|
||||||
executor.PrepareBindings(vertex_runtime, vertex);
|
executor.PrepareBindings(vertex_runtime, vertex);
|
||||||
executor.PrepareBindings(pixel_runtime, pixel);
|
executor.PrepareBindings(pixel_runtime, pixel);
|
||||||
|
std::array<PreparedBindings *, 2> stages{&vertex, &pixel};
|
||||||
|
RenderExecutorTestAccess::PrepareGraphicsBindings(executor, stages, {});
|
||||||
Require(name, "prepared binding scratch",
|
Require(name, "prepared binding scratch",
|
||||||
vertex.shader_data.data() == vertex_storage &&
|
vertex.shader_data.data() == vertex_storage &&
|
||||||
pixel.shader_data.data() == pixel_storage &&
|
pixel.shader_data.data() == pixel_storage &&
|
||||||
|
|||||||
Reference in New Issue
Block a user