diff options
author | Marek Olšák <[email protected]> | 2012-10-12 18:30:51 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-12 19:00:30 +0200 |
commit | 555c8d500a4a09445a892316610a428d408318ed (patch) | |
tree | 65c6659f19ba35a6a3249b683825bd01501d2664 /src/gallium/drivers/r600/r600_shader.h | |
parent | 23c6b8f2edc42a483148c3d7357331bccf1edd11 (diff) |
r600g: move shader structures into r600_shader.h
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index 2b8412aa80f..f76d5915281 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -62,4 +62,25 @@ struct r600_shader { boolean vs_out_point_size; }; +struct r600_shader_key { + unsigned color_two_side:1; + unsigned alpha_to_one:1; + unsigned nr_cbufs:4; +}; + +struct r600_pipe_shader { + struct r600_pipe_shader_selector *selector; + struct r600_pipe_shader *next_variant; + struct r600_shader shader; + struct r600_pipe_state rstate; + struct r600_resource *bo; + unsigned sprite_coord_enable; + unsigned flatshade; + unsigned pa_cl_vs_out_cntl; + unsigned nr_ps_color_outputs; + struct r600_shader_key key; + unsigned db_shader_control; + unsigned ps_depth_export; +}; + #endif |