Lines Matching refs:int_t
481 const glsl_type * const int_t; member in __anonf17808ff0111::builtin_variable_generator
501 bool_t(glsl_type::bool_type), int_t(glsl_type::int_type), in builtin_variable_generator()
988 add_uniform(int_t, GLSL_PRECISION_LOW, "gl_NumSamples"); in generate_uniforms()
1084 add_system_value(SYSTEM_VALUE_VERTEX_ID, int_t, GLSL_PRECISION_HIGH, in generate_vs_special_vars()
1088 add_system_value(SYSTEM_VALUE_BASE_VERTEX, int_t, "gl_BaseVertex"); in generate_vs_special_vars()
1089 add_system_value(SYSTEM_VALUE_BASE_INSTANCE, int_t, "gl_BaseInstance"); in generate_vs_special_vars()
1090 add_system_value(SYSTEM_VALUE_DRAW_ID, int_t, "gl_DrawID"); in generate_vs_special_vars()
1093 add_system_value(SYSTEM_VALUE_INSTANCE_ID, int_t, GLSL_PRECISION_HIGH, in generate_vs_special_vars()
1097 add_system_value(SYSTEM_VALUE_INSTANCE_ID, int_t, "gl_InstanceIDARB"); in generate_vs_special_vars()
1101 add_system_value(SYSTEM_VALUE_INSTANCE_ID, int_t, GLSL_PRECISION_HIGH, in generate_vs_special_vars()
1105 add_system_value(SYSTEM_VALUE_BASE_VERTEX, int_t, "gl_BaseVertexARB"); in generate_vs_special_vars()
1106 add_system_value(SYSTEM_VALUE_BASE_INSTANCE, int_t, "gl_BaseInstanceARB"); in generate_vs_special_vars()
1107 add_system_value(SYSTEM_VALUE_DRAW_ID, int_t, "gl_DrawIDARB"); in generate_vs_special_vars()
1133 add_system_value(SYSTEM_VALUE_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1135 add_system_value(SYSTEM_VALUE_INVOCATION_ID, int_t, GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1137 add_system_value(SYSTEM_VALUE_VERTICES_IN, int_t, GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1164 add_output(-1, int_t, "gl_Layer"); in generate_tcs_special_vars()
1165 add_output(-1, int_t, "gl_ViewportIndex"); in generate_tcs_special_vars()
1166 add_output(-1, array(int_t, 1), "gl_ViewportMask"); in generate_tcs_special_vars()
1180 add_system_value(SYSTEM_VALUE_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_tes_special_vars()
1182 add_system_value(SYSTEM_VALUE_VERTICES_IN, int_t, GLSL_PRECISION_HIGH, in generate_tes_special_vars()
1199 var = add_output(VARYING_SLOT_LAYER, int_t, "gl_Layer"); in generate_tes_special_vars()
1201 var = add_output(VARYING_SLOT_VIEWPORT, int_t, "gl_ViewportIndex"); in generate_tes_special_vars()
1205 var = add_output(VARYING_SLOT_VIEWPORT_MASK, array(int_t, 1), in generate_tes_special_vars()
1220 var = add_output(VARYING_SLOT_LAYER, int_t, GLSL_PRECISION_HIGH, "gl_Layer"); in generate_gs_special_vars()
1224 var = add_output(VARYING_SLOT_VIEWPORT, int_t, GLSL_PRECISION_HIGH, in generate_gs_special_vars()
1229 var = add_output(VARYING_SLOT_VIEWPORT_MASK, array(int_t, 1), in generate_gs_special_vars()
1235 add_system_value(SYSTEM_VALUE_INVOCATION_ID, int_t, GLSL_PRECISION_HIGH, in generate_gs_special_vars()
1249 var = add_input(VARYING_SLOT_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_gs_special_vars()
1252 var = add_output(VARYING_SLOT_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_gs_special_vars()
1295 var = add_input(VARYING_SLOT_PRIMITIVE_ID, int_t, GLSL_PRECISION_HIGH, in generate_fs_special_vars()
1345 add_output(FRAG_RESULT_STENCIL, int_t, "gl_FragStencilRefARB"); in generate_fs_special_vars()
1352 add_output(FRAG_RESULT_STENCIL, int_t, "gl_FragStencilRefAMD"); in generate_fs_special_vars()
1360 add_system_value(SYSTEM_VALUE_SAMPLE_ID, int_t, GLSL_PRECISION_LOW, in generate_fs_special_vars()
1371 add_output(FRAG_RESULT_SAMPLE_MASK, array(int_t, 1), in generate_fs_special_vars()
1378 add_system_value(SYSTEM_VALUE_SAMPLE_MASK_IN, array(int_t, 1), in generate_fs_special_vars()
1386 add_varying(VARYING_SLOT_LAYER, int_t, GLSL_PRECISION_HIGH, in generate_fs_special_vars()
1393 add_varying(VARYING_SLOT_VIEWPORT, int_t, "gl_ViewportIndex", INTERP_MODE_FLAT); in generate_fs_special_vars()
1488 add_varying(VARYING_SLOT_VIEWPORT, int_t, "gl_ViewportIndex", INTERP_MODE_FLAT); in generate_varyings()
1494 add_varying(VARYING_SLOT_LAYER, int_t, GLSL_PRECISION_HIGH, in generate_varyings()
1509 add_varying(VARYING_SLOT_VIEWPORT_MASK, array(int_t, 1), in generate_varyings()