Skip to content
Permalink
Browse files
More work on ARB1 profile.
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 54b98f2900b0a08770d7d623ef449360aace4a05
Showing with 156 additions and 203 deletions.
  1. +3 −2 CMakeLists.txt
  2. +153 −201 mojoshader.c
@@ -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)
@@ -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 ...

0 comments on commit 54b98f2

Please sign in to comment.