diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-18 14:44:01 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-18 14:46:42 -0600 |
commit | 7218626cf5ecc00fc7ef994253c20c9a2df35cc2 (patch) | |
tree | eaae6494ed8de6a058aa968bc8c2e33ba2b08efb /src/mesa/shader/slang/slang_emit.h | |
parent | a4fd90e3255ea531f2fe0693f00f342f4610cae3 (diff) |
mesa: rework array/struct addressing code.
The slang_ir_storage type now has a pointer to parent storage to represent
storage of an array element within an array, or a field within a struct.
This fixes some problems related to addressing of fields/elements in non-
trivial cases. More work to follow.
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.h')
-rw-r--r-- | src/mesa/shader/slang/slang_emit.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/slang/slang_emit.h b/src/mesa/shader/slang/slang_emit.h index 7d70b3311b..153e872d74 100644 --- a/src/mesa/shader/slang/slang_emit.h +++ b/src/mesa/shader/slang/slang_emit.h @@ -40,10 +40,6 @@ extern GLuint _slang_swizzle_swizzle(GLuint swz1, GLuint swz2); -extern slang_ir_storage * -_slang_new_ir_storage(enum register_file file, GLint index, GLint size); - - extern GLboolean _slang_emit_code(slang_ir_node *n, slang_var_table *vartable, struct gl_program *prog, GLboolean withEnd, |