2 #ifndef __NVC0_PROGRAM_H__
3 #define __NVC0_PROGRAM_H__
5 #include "pipe/p_state.h"
7 #define NVC0_CAP_MAX_PROGRAM_TEMPS 128
9 #define NVC0_SHADER_HEADER_SIZE (20 * 4)
12 struct pipe_shader_state pipe
;
23 unsigned immd_size
; /* size of immediate array data */
24 unsigned parm_size
; /* size of non-bindable uniforms (c0[]) */
32 uint8_t out_pos
[PIPE_MAX_SHADER_OUTPUTS
];
36 uint8_t in_pos
[PIPE_MAX_SHADER_INPUTS
];
39 uint32_t tess_mode
; /* ~0 if defined by the other stage */
40 uint32_t input_patch_size
;
45 struct nouveau_resource
*res
;