Skip to content

Commit

Permalink
fixup testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Try committed Mar 20, 2024
1 parent de7f29f commit fbe542d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/tests/gapi/gapi_test_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,7 @@ void Blas() {
auto vbo = device.vbo(vboData3,3);
auto ibo = device.ibo(iboData,3);
auto blas = device.blas(vbo,ibo);
auto tlas = device.tlas({{Matrix4x4::mkIdentity(), 0, Tempest::RtInstanceFlags::Opaque, &blas}});
auto tlas = device.tlas({{Matrix4x4::mkIdentity(), 0, 0xFF, Tempest::RtInstanceFlags::Opaque,&blas}});
}
catch(std::system_error& e) {
if(e.code()==Tempest::GraphicsErrc::NoDevice)
Expand Down Expand Up @@ -1674,7 +1674,7 @@ void RayQuery(const char* outImg) {

auto m = Matrix4x4::mkIdentity();
m.translate(-1,1,0);
auto tlas = device.tlas({{m,0,Tempest::RtInstanceFlags::Opaque,&blas}});
auto tlas = device.tlas({{m,0,0xFF,Tempest::RtInstanceFlags::Opaque,&blas}});

auto fsq = device.vbo<Vertex>({{-1,-1},{ 1,-1},{ 1, 1}, {-1,-1},{ 1, 1},{-1, 1}});
auto vert = device.shader("shader/simple_test.vert.sprv");
Expand Down Expand Up @@ -1731,7 +1731,7 @@ void RayQueryFace(const char* outImg) {

auto m = Matrix4x4::mkIdentity();
m.translate(-1,1,0);
auto tlas = device.tlas({{m,0,Tempest::RtInstanceFlags::Opaque,&blas}});
auto tlas = device.tlas({{m,0,0xFF,Tempest::RtInstanceFlags::Opaque,&blas}});

auto fsq = device.vbo<Vertex>({{-1,-1},{ 1,-1},{ 1, 1}, {-1,-1},{ 1, 1},{-1, 1}});
auto vert = device.shader("shader/simple_test.vert.sprv");
Expand Down

0 comments on commit fbe542d

Please sign in to comment.