diff options
author | Marek Olšák <[email protected]> | 2014-11-09 23:35:08 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-11-16 01:28:26 +0100 |
commit | 48f1409c3bf392f4b277eb6ecaf64e68e314e259 (patch) | |
tree | 78c13ec7d8b8e58b94640401d7ebdd74866b0c2b /src/gallium/auxiliary/tgsi/tgsi_ureg.h | |
parent | e6a2d3f7b621d1984f82b557175a8af9555b80ac (diff) |
tgsi/ureg: simplify code for declaring properties
Tested-by: Nick Sarnie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h index f014b5304a5..f254b1eb1a8 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h @@ -153,40 +153,7 @@ ureg_create_shader_and_destroy( struct ureg_program *p, */ void -ureg_property_gs_input_prim(struct ureg_program *ureg, - unsigned input_prim); - -void -ureg_property_gs_output_prim(struct ureg_program *ureg, - unsigned output_prim); - -void -ureg_property_gs_max_vertices(struct ureg_program *ureg, - unsigned max_vertices); - -void -ureg_property_gs_invocations(struct ureg_program *ureg, - unsigned invocations); - -void -ureg_property_fs_coord_origin(struct ureg_program *ureg, - unsigned fs_coord_origin); - -void -ureg_property_fs_coord_pixel_center(struct ureg_program *ureg, - unsigned fs_coord_pixel_center); - -void -ureg_property_fs_color0_writes_all_cbufs(struct ureg_program *ureg, - unsigned fs_color0_writes_all_cbufs); - -void -ureg_property_fs_depth_layout(struct ureg_program *ureg, - unsigned fs_depth_layout); - -void -ureg_property_vs_window_space_position(struct ureg_program *ureg, - boolean vs_window_space_position); +ureg_property(struct ureg_program *ureg, unsigned name, unsigned value); /*********************************************************************** |