Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] SSE_MaxSize


Chronological Thread 
  • From: James Bigler <bigler@cs.utah.edu>
  • To: "'manta@sci.utah.edu'" <manta@sci.utah.edu>
  • Subject: [MANTA] SSE_MaxSize
  • Date: Fri, 30 Jun 2006 11:39:43 -0600

There's some code in RayPacket.h that looks like this:

      SSE_MaxSize   = RAYPACKET_MAXSIZE/4,

Now if RAYPACKET_MAXSIZE happens to not be a multiple of 4 would things go badly?

RAYPACKET_MAXSIZE = 1, SSE_MaxSize = 0
RAYPACKET_MAXSIZE = 6, SSE_MaxSize = 1

Should it be something more like:

      SSE_MaxSize   = (RAYPACKET_MAXSIZE+3)/4,

Thanks,
James





Archive powered by MHonArc 2.6.16.

Top of page