MitchellHansen
45627e6a85
Whoops, forgot to save the files, same commit as before
8 years ago
MitchellHansen
c734614e5f
cleaned up an unused file, added check for sharing
8 years ago
92aee8c4ca
Would help if I actually added the files
8 years ago
MitchellHansen
f487895f9f
that was a pain. Got it working on windows again. MSVC was being really
...
picky about a few errors. Good thing though, I'm not really sure why
clang + osx let me be that lax with memory
8 years ago
mitchellhansen
cf607382a9
WORKING! Awesome! It now casts fully inside the gpu,
...
context is then switched to gl and then rendered via sfml.
It has no loop, no controls, and the aspect ratio is off,
but holy hell it works!
8 years ago
mitchellhansen
a7234675cb
Continuing on adding argument handling.
...
Added a small sample texture and sprite which can be handed over to either gl or cl and then handed back. It can then be rendered.
Changed to just an array of floats for the view matrix
8 years ago
mitchellhansen
c3902c2f6e
Added args and buffer handling, but now clEnqueueNDRangeKernel is failing
...
with the error invalid command queue. Haven't seen that one before, and
cursory google suggests it's a problem with MBP's. Fun! I'll keep taking
a look, and I'll try it on my windows machine here soon
8 years ago
mitchellhansen
0c70c24a52
Switched names, thinking about how to do kernel args, and buffers.
...
Need to do a bit more reading on how to set up interop.
Also need to figure out the buffer thing for regular primative buffers, and also image buffers
8 years ago