README.txt
author Ryan C. Gordon <icculus@icculus.org>
Mon, 20 Jul 2020 20:07:44 -0400
changeset 1297 5667281f0da9
parent 1189 9aaae21251bc
permissions -rw-r--r--
metal: Fix RCP and RSQ output to match GLSL.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
471
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
To use this in your project:
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
- Add mojoshader*.c and mojoshader*.h to your project.
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
- Compile mojoshader*.c
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
- If you don't have a C99-compliant compiler, like Microsoft Visual Studio,
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
  you'll need to compile the .c files as C++ to get them to build.
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
- If you don't have cmake to generate mojoshader_version.h, you can either
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
  add a blank file with that name, or add MOJOSHADER_NO_VERSION_INCLUDE to
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
  your preprocessor definitions.
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
61f87c72e447 Added a really basic README.txt ...
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
// end of README.txt ...