Skip to content

Commit 431735a

Browse files
committed
Fix the build
1 parent 852412f commit 431735a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

RadeonRays/src/accelerator/bvh2.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ THE SOFTWARE.
2525
#include <stack>
2626
#include <utility>
2727
#include <vector>
28+
#include <mmintrin.h>
29+
#include <xmmintrin.h>
30+
#include <smmintrin.h>
2831

2932
#include "../primitive/mesh.h"
3033

RadeonRays/src/translator/q_bvh_translator.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,7 @@ namespace RadeonRays
2929
class QBvhTranslator
3030
{
3131
public:
32-
// Constant values
33-
enum Constants
34-
{
35-
// Invalid index marker
36-
kInvalidId = 0xffffffffu
37-
};
32+
static constexpr std::uint32_t kInvalidId = 0xffffffffu;
3833

3934
// Encoded node format.
4035
// In QBVH we store 4x16-bits AABBs per node

0 commit comments

Comments
 (0)