diff options
author | Zack Rusin <[email protected]> | 2010-04-01 18:58:51 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-04-01 18:58:51 -0400 |
commit | ab5c09738760bc1b665b9809eaf921f4ac27057e (patch) | |
tree | 5ccd02a9bda843292f27367712f065fa8f698b3f /src/gallium/auxiliary/draw/draw_llvm.h | |
parent | b6d052e4fd83d923776320cf5fef66abcd4bf3d0 (diff) |
draw llvm: a lot better storing implementation
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.h b/src/gallium/auxiliary/draw/draw_llvm.h index e375008f3b4..46ce236e3cd 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.h +++ b/src/gallium/auxiliary/draw/draw_llvm.h @@ -63,6 +63,17 @@ struct draw_jit_context #define draw_jit_context_textures(_builder, _ptr) \ lp_build_struct_get_ptr(_builder, _ptr, DRAW_JIT_CONTEXT_TEXTURES_INDEX, "textures") + + +#define draw_jit_header_id(_builder, _ptr) \ + lp_build_struct_get_ptr(_builder, _ptr, 0, "id") + +#define draw_jit_header_clip(_builder, _ptr) \ + lp_build_struct_get(_builder, _ptr, 1, "clip") + +#define draw_jit_header_data(_builder, _ptr) \ + lp_build_struct_get_ptr(_builder, _ptr, 2, "data") + /* we are construction a function of the form: struct vertex_header { |