diff options
author | Zack Rusin <[email protected]> | 2008-05-15 12:17:46 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-05-17 13:58:44 -0400 |
commit | aeae57693b31bf42833a9d51844fe92e3ab61034 (patch) | |
tree | 7a55f7b2430a3911e3fa39e3fda476b33fd4f215 /src/gallium/auxiliary/gallivm/gallivm.h | |
parent | 9671f7ae476cadb46f9f8f9d0363f24aabaf9f87 (diff) |
move the swizzling code to gallivm in preperation for code-generating it
also some minor cleanups
Diffstat (limited to 'src/gallium/auxiliary/gallivm/gallivm.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/gallivm.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/gallivm.h b/src/gallium/auxiliary/gallivm/gallivm.h index b4d6555d2fc..36a64a77471 100644 --- a/src/gallium/auxiliary/gallivm/gallivm.h +++ b/src/gallium/auxiliary/gallivm/gallivm.h @@ -90,10 +90,15 @@ void gallivm_prog_dump(struct gallivm_prog *prog, const char *file_prefix); struct gallivm_cpu_engine *gallivm_cpu_engine_create(struct gallivm_prog *prog); struct gallivm_cpu_engine *gallivm_global_cpu_engine(); int gallivm_cpu_vs_exec(struct gallivm_prog *prog, - struct tgsi_exec_vector *inputs, - struct tgsi_exec_vector *dests, - float (*consts)[4], - struct tgsi_exec_vector *temps); + struct tgsi_exec_machine *machine, + const float (*input)[4], + unsigned num_inputs, + float (*output)[4], + unsigned num_outputs, + const float (*constants)[4], + unsigned count, + unsigned input_stride, + unsigned output_stride); int gallivm_cpu_fs_exec(struct gallivm_prog *prog, float x, float y, float (*dests)[PIPE_MAX_SHADER_INPUTS][4], |