The new rendering method now works on the full compat case.

Added a kernel to help test opencl data passing
renamed the kernels, buffers, etc.
This commit is contained in:
MitchellHansen
2016-11-04 03:28:23 -07:00
parent 5528e03c69
commit d1bd4ce667
13 changed files with 267 additions and 685 deletions

View File

@@ -27,9 +27,12 @@ include_directories(${OpenCL_INCLUDE_DIRS})
include_directories(${OpenGL_INCLUDE_DIRS})
include_directories(include)
# Set the .cpp sources
# Set the sources, allows VS to filter them properly
file(GLOB SOURCES "src/*.cpp")
add_executable(${PNAME} ${SOURCES} include/Renderer.cpp include/Renderer.h)
file(GLOB HEADERS "include/*.h" "include/*.hpp")
file(GLOB KERNELS "kernels/*.cl")
add_executable(${PNAME} ${SOURCES} ${HEADERS} ${KERNELS})
# Link CL, GL, and SFML
target_link_libraries (${PNAME} ${SFML_LIBRARIES} ${SFML_DEPENDENCIES})