summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-06 22:17:10 -0700
committerBrian Paul <[email protected]>2018-02-07 18:43:01 -0700
commitb99cb13002e8ac19da2b7a1a5e9a36b35156e385 (patch)
tree43beaface37e17f493f0062d53309b54bfb58d3e /src/gallium/auxiliary/tgsi/tgsi_ureg.h
parent174f3a4ab7ca331ac10e10938d958a84acd68dde (diff)
tgsi: use tgsi_semantic enum type in ureg code
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index 2bab23dc4f6..03496896aa4 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -168,7 +168,7 @@ ureg_property(struct ureg_program *ureg, unsigned name, unsigned value);
struct ureg_src
ureg_DECL_fs_input_cyl_centroid_layout(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
enum tgsi_interpolate_mode interp_mode,
unsigned cylindrical_wrap,
@@ -180,7 +180,7 @@ ureg_DECL_fs_input_cyl_centroid_layout(struct ureg_program *,
struct ureg_src
ureg_DECL_fs_input_cyl_centroid(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
enum tgsi_interpolate_mode interp_mode,
unsigned cylindrical_wrap,
@@ -190,7 +190,7 @@ ureg_DECL_fs_input_cyl_centroid(struct ureg_program *,
static inline struct ureg_src
ureg_DECL_fs_input_cyl(struct ureg_program *ureg,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
enum tgsi_interpolate_mode interp_mode,
unsigned cylindrical_wrap)
@@ -205,7 +205,7 @@ ureg_DECL_fs_input_cyl(struct ureg_program *ureg,
static inline struct ureg_src
ureg_DECL_fs_input(struct ureg_program *ureg,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
enum tgsi_interpolate_mode interp_mode)
{
@@ -222,7 +222,7 @@ ureg_DECL_vs_input( struct ureg_program *,
struct ureg_src
ureg_DECL_input_layout(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
unsigned index,
unsigned usage_mask,
@@ -231,19 +231,19 @@ ureg_DECL_input_layout(struct ureg_program *,
struct ureg_src
ureg_DECL_input(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
unsigned array_id,
unsigned array_size);
struct ureg_src
ureg_DECL_system_value(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index);
struct ureg_dst
ureg_DECL_output_layout(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
unsigned streams,
unsigned index,
@@ -253,7 +253,7 @@ ureg_DECL_output_layout(struct ureg_program *,
struct ureg_dst
ureg_DECL_output_masked(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
unsigned usage_mask,
unsigned array_id,
@@ -261,12 +261,12 @@ ureg_DECL_output_masked(struct ureg_program *,
struct ureg_dst
ureg_DECL_output(struct ureg_program *,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index);
struct ureg_dst
ureg_DECL_output_array(struct ureg_program *ureg,
- unsigned semantic_name,
+ enum tgsi_semantic semantic_name,
unsigned semantic_index,
unsigned array_id,
unsigned array_size);