Skip to content

Commit 5e44473

Browse files
committed
More code cleanup
1 parent 7fd3f04 commit 5e44473

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

RadeonRays/src/device/calc_intersection_device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace RadeonRays
121121
{
122122
if (m_intersector_string != "fatbvh")
123123
{
124-
#if 0 // TODO: my hack (gboisse)
124+
#if 0
125125
m_intersector.reset(new IntersectorShortStack(m_device.get()));
126126
m_intersector_string = "fatbvh";
127127
#else

RadeonRays/src/intersector/intersector_lds.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,12 @@ namespace RadeonRays
163163
int num_bins = (nbins ? static_cast<int>(nbins->AsFloat()) : 64);
164164
float traversal_cost = (tcost ? tcost->AsFloat() : 10.0f);
165165

166+
#if 0
166167
if (type && type->AsString() == "qbvh")
167168
{
168169
use_qbvh = true;
169170
}
171+
#endif
170172

171173
if (builder && builder->AsString() == "sah")
172174
{

RadeonRays/src/kernels/GLSL/bvh2.comp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void intersect_main()
186186
// Handle only working subset
187187
if (index >= Numrays) return;
188188

189-
ray myRay = Rays[index]; // TODO: VK:- SC SPIR-V module not valid: OpStore Pointer <id> '136's type does not match Object <id> '137's type. (gboisse)
189+
ray myRay = Rays[index];
190190
vec3 invDir = safe_invdir(myRay.d.xyz);
191191
vec3 oxInvDir = -myRay.o.xyz * invDir;
192192

@@ -289,7 +289,6 @@ void intersect_main()
289289
}
290290
}
291291

292-
// TODO: what, why?!? (gboisse)
293292
Intersection isect;
294293
isect.padding.x = 667;
295294
isect.padding.y = isect.padding.x;

0 commit comments

Comments
 (0)