Ian Romanick
|
ca97bd395f
|
Initialize the shader info log
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
|
2010-06-19 11:36:15 -07:00 |
|
Kenneth Graunke
|
32cf482215
|
Make shader a talloc context.
|
2010-06-19 11:36:15 -07:00 |
|
Kenneth Graunke
|
29e6087481
|
Rename prog to shader. Less confusing.
|
2010-06-19 01:29:17 -07:00 |
|
Ian Romanick
|
c648a124b2
|
Don't link shaders by default
Add a command line option to trigger linking. This "fixes" all the
failing test cases. Oops.
|
2010-06-17 19:51:48 -07:00 |
|
Ian Romanick
|
832dfa58b2
|
linker: Initial bits of the linker
No linking is done yet, but some of the semantic checking is done.
|
2010-06-17 15:04:20 -07:00 |
|
Ian Romanick
|
705fb01b59
|
Use glsl_program instead of an open-coded vector of shaders
|
2010-06-17 12:59:45 -07:00 |
|
Ian Romanick
|
f8fe53ca2e
|
Change glsl_program to glsl_shader
|
2010-06-17 12:54:24 -07:00 |
|
Ian Romanick
|
6fd9fb23de
|
Compile multiple shaders listed on the command line
|
2010-06-17 12:22:16 -07:00 |
|
Ian Romanick
|
8ce55dbd92
|
Extract compilation to a separate routine
Pull all of the code that actually compiles shaders into a separate
function. Use a glsl_program to track data about the compiled shader.
|
2010-06-17 12:01:18 -07:00 |
|
Ian Romanick
|
81e1747ac5
|
Printing LIR is optional
|
2010-06-15 12:51:38 -07:00 |
|
Ian Romanick
|
7babbdbd82
|
Printing the AST is optional
|
2010-06-15 12:50:53 -07:00 |
|
Ian Romanick
|
fc0ef6451c
|
Minor bits of code rearranging
|
2010-06-15 12:20:49 -07:00 |
|
Ian Romanick
|
2b36895f0c
|
Infer shader type from suffix on filename
|
2010-06-15 12:00:37 -07:00 |
|
Ian Romanick
|
54992c30b0
|
Remove ability to read "IR shaders" from stand-alone compiler
|
2010-06-14 14:47:26 -07:00 |
|
Ian Romanick
|
61d4aa041f
|
Move stand-alone compiler main routine to main.cpp
|
2010-06-14 14:46:09 -07:00 |
|