Navigation Menu

Skip to content

Commit

Permalink
More work on ARB1 profile.
Browse files Browse the repository at this point in the history
Mostly builds shaders, minus global stuff (variable declarations, bindings,
 etc). A few opcodes short of the test shaders passing parse.

--HG--
branch : trunk
  • Loading branch information
icculus committed May 26, 2008
1 parent d7224e2 commit 54b98f2
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 203 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Expand Up @@ -13,7 +13,7 @@ IF(MSVC)
ADD_DEFINITIONS(-TP) # force .c files to compile as C++.
ENDIF(MSVC)

FIND_PACKAGE(SDL)
#FIND_PACKAGE(SDL)
IF(SDL_FOUND)
INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})
ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)
Expand All @@ -22,7 +22,8 @@ IF(SDL_FOUND)
ENDIF(SDL_FOUND)

ADD_EXECUTABLE(testparse testparse.c mojoshader.c)
ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c mojoshader_opengl.c)
#ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c mojoshader_opengl.c)
ADD_EXECUTABLE(finderrors finderrors.c mojoshader.c)
TARGET_LINK_LIBRARIES(finderrors ${SDL_LIBRARY} ${EXTRA_LIBS})

# End of CMakeLists.txt ...
Expand Down

0 comments on commit 54b98f2

Please sign in to comment.