Michal Krol
|
547ac2869b
|
glsl/pp: Fix macro formal argument parsing, more descriptive error msgs.
|
2009-11-17 09:06:53 +01:00 |
|
Michal Krol
|
eaa34c2dea
|
glsl/apps: Report syntax parser errors.
|
2009-11-13 19:51:49 +01:00 |
|
Michal Krol
|
99c89ebdb0
|
glsl/cl: Add simple error reporting.
|
2009-11-13 19:51:02 +01:00 |
|
Michal Krol
|
38a1f0b5d1
|
glsl/apps: Add GLSL compiler that translates source text into binary stream.
Should be used in place of gc_to_bin utility to precompile builtin library.
|
2009-11-13 03:02:14 +01:00 |
|
Michal Krol
|
08e90bdea1
|
glsl/cl: Add a hard-coded syntax parser.
|
2009-11-13 03:00:45 +01:00 |
|
Michal Krol
|
d44cebd1ee
|
glsl/pp: Add sl_pp_purify_getc().
|
2009-11-10 20:49:45 +01:00 |
|
Michal Krol
|
b5c8c87eab
|
glsl/apps: Update for glsl/pp interface changes.
|
2009-11-10 00:15:54 +01:00 |
|
Michal Krol
|
d37f7694b6
|
glsl/pp: Have sl_pp_purify() return error msg/line no.
|
2009-11-10 00:15:33 +01:00 |
|
Michal Krol
|
c4bd6ccde8
|
glsl/pp: Expand macro actual arguments before pasting into its body.
|
2009-09-28 11:30:15 +02:00 |
|
Michal Krol
|
92e33569f3
|
glsl/pp: Add forward decls to silence gcc warnings.
|
2009-09-24 10:57:55 +02:00 |
|
Michal Krol
|
69fec23251
|
glsl/pp: Avoid using `__VERSION__' as an identifier.
|
2009-09-24 10:57:32 +02:00 |
|
Michal Krol
|
7a95a3c7c4
|
glsl/pp: Include missing headers.
|
2009-09-24 10:56:46 +02:00 |
|
Michal Krol
|
e1eed56702
|
glsl/pp: Allow builds on all platforms.
|
2009-09-24 10:56:01 +02:00 |
|
Michal Krol
|
e8e3fe15e1
|
glsl/apps: Include missing header, properly escape format strings.
|
2009-09-24 10:55:37 +02:00 |
|
Michal Krol
|
db097a9a3f
|
glsl/apps: Allow builds on all platforms.
|
2009-09-24 10:54:56 +02:00 |
|
Michal Krol
|
a58360dbc2
|
glsl/pp: Use struct instead of union.
|
2009-09-24 09:04:15 +02:00 |
|
Michal Krol
|
13f9a39cea
|
glsl/apps: Fix apps after pp interface changes.
|
2009-09-24 08:43:54 +02:00 |
|
Michal Krol
|
9a1447d449
|
glsl/pp: Store both line number and file index in a single token.
|
2009-09-24 08:43:05 +02:00 |
|
Michal Krol
|
1ed1dc8b41
|
glsl/pp: Include missing headers.
|
2009-09-23 09:40:24 +02:00 |
|
Michal Krol
|
2f89e1a5a1
|
glsl/pp: Add 0' and 1' to dictionary.
|
2009-09-23 09:37:37 +02:00 |
|
Michal Krol
|
32966991c6
|
glsl/pp: Check for reserved macro names.
|
2009-09-23 09:33:12 +02:00 |
|
Michal Krol
|
125691dda3
|
glsl/apps: Update after recent pp interface changes.
|
2009-09-22 12:52:21 +02:00 |
|
Michal Krol
|
0481e85af7
|
glsl/pp: Differentiate between integer and floating-point number tokens.
|
2009-09-22 12:51:08 +02:00 |
|
Michal Krol
|
5f9f30a752
|
glsl/apps: Use glsl pp public interface.
|
2009-09-18 11:20:42 +02:00 |
|
Michal Krol
|
95956bb8cb
|
glsl/pp: Define a public interface for external modules.
Make sl_pp_context struct opaque.
Move all public declarations to sl_pp_public.h.
|
2009-09-18 11:19:25 +02:00 |
|
Michal Krol
|
90daefd1c4
|
glsl/pp: Add a TODO for FEATURE_es2_glsl.
|
2009-09-17 12:33:26 +02:00 |
|
Michal Krol
|
4fcda5000e
|
slang/pp: Fix file number parsing.
|
2009-09-17 12:14:12 +02:00 |
|
Michal Krol
|
ce8f486156
|
slang/pp: Use a dictionary for the remaining string literals.
|
2009-09-17 12:12:34 +02:00 |
|
Michal Krol
|
0ddf41d34d
|
glsl/pp: Add remaining error messages.
|
2009-09-17 11:51:35 +02:00 |
|
Michal Krol
|
69bdd47dba
|
glsl/apps: Always write out error condition.
|
2009-09-17 10:45:16 +02:00 |
|
Michal Krol
|
cc629940d4
|
glsl/apps: Always write out error condition.
|
2009-09-16 22:04:22 +02:00 |
|
Michal Krol
|
a7382628f2
|
glsl/pp: Validate numbers.
|
2009-09-16 21:51:12 +02:00 |
|
Michal Krol
|
de0753e4cb
|
glsl/pp: Add more error messages.
|
2009-09-16 20:40:02 +02:00 |
|
Michal Krol
|
d4638f5dce
|
glsl/pp: Add more error messages.
|
2009-09-16 20:27:59 +02:00 |
|
Michal Krol
|
0f302b60fd
|
glsl/pp: Support GL_ARB_draw_buffers and GL_ARB_texture_rectangle.
|
2009-09-14 13:09:36 +02:00 |
|
Michal Krol
|
169aead1b5
|
glsl/apps: Adapt to pp interface change.
|
2009-09-14 13:08:07 +02:00 |
|
Michal Krol
|
a67f32289a
|
glsl/pp: Add a dictionary to a context.
|
2009-09-14 13:07:25 +02:00 |
|
Michal Krol
|
5ad8937752
|
glsl: Add error messages for version parser.
|
2009-09-07 10:12:12 +02:00 |
|
Michal Krol
|
b7960b3d3a
|
glsl: Handle file tokens in apps/process.
|
2009-09-07 10:12:11 +02:00 |
|
Michal Krol
|
a64ba93aab
|
glsl: Handle file numbering.
|
2009-09-07 10:12:10 +02:00 |
|
Michal Krol
|
2d2d638444
|
glsl: Actually respect the hash-line directive.
|
2009-09-07 10:12:09 +02:00 |
|
Michal Krol
|
b6df77fb9a
|
glsl: Handle line tokens in apps/process.
|
2009-09-07 10:12:08 +02:00 |
|
Michal Krol
|
4aa3222df3
|
glsl: Correctly handle line numbering.
|
2009-09-07 10:12:07 +02:00 |
|
Michal Krol
|
0d9c5eafeb
|
glsl: Preserve newline inside comment blocks.
|
2009-09-07 10:12:06 +02:00 |
|
Michal Krol
|
e8afc65589
|
glsl: Implement predefinded macros.
The values are hardcoded: __LINE__ = 1, __FILE__ = 0 and __VERSION__ = 110.
|
2009-09-07 10:12:05 +02:00 |
|
Michal Krol
|
bb8f38ea6f
|
glsl: Implement `line' preprocessor directive.
|
2009-09-07 10:12:03 +02:00 |
|
Michal Krol
|
ddd8ae7fbc
|
glsl: Output endof token after processing a directive.
Some directives may output tokens as a result of their operation.
|
2009-09-07 10:12:03 +02:00 |
|
Michal Krol
|
7f187583c1
|
glsl: Handle extension tokens in apps/proces.
|
2009-09-07 10:12:02 +02:00 |
|
Michal Krol
|
87d2de04fb
|
glsl: Implement `extension' preprocessor directive.
No extensions supported.
|
2009-09-07 10:12:00 +02:00 |
|
Michal Krol
|
94321b4441
|
glsl: Handle pragma tokens in apps/process.
|
2009-09-07 10:11:59 +02:00 |
|