Lines Matching refs:uint

169 const Type Type::uint	= Type::GetType(Type::Uint, 1, 1);
473 static const GLchar* uint_lut[4] = { "uint", "uvec2", "uvec3", "uvec4" };
4093 // According to spec: int, uint, and double type must always be declared with flat qualifier
5511 type = Utils::Type::uint;
7378 " uint result = 1u;\n"
7389 "flat in uint gs_fs_result;\n"
7390 " out uint fs_out_result;\n"
7396 " uint result = 1u;\n"
7416 " in uint tes_gs_result[];\n"
7417 " flat out uint gs_fs_result;\n"
7424 " uint result = 1u;\n"
7456 "in uint vs_tcs_result[];\n"
7457 "out uint tcs_tes_result[];\n"
7463 " uint result = 1u;\n"
7489 "in uint tcs_tes_result[];\n"
7490 "out uint tes_gs_result;\n"
7496 " uint result = 1u;\n"
7513 "out uint vs_tcs_result;\n"
7519 " uint result = 1u;\n"
8201 " uint result = 1u;\n"
8541 std::string globals = "uniform uint goku [GL_ARB_enhanced_layouts / 1];\n"
8542 "uniform uint gohan[gl_MaxTransformFeedbackBuffers / GOHAN_DIV];\n"
8543 "uniform uint goten[gl_MaxTransformFeedbackInterleavedComponents / GOTEN_DIV];\n";
8575 " uint goku_sum = 0;\n"
8576 " uint gohan_sum = 0;\n"
8577 " uint goten_sum = 0;\n"
8579 " for (uint i = 0u; i < goku.length(); ++i)\n"
8584 " for (uint i = 0u; i < gohan.length(); ++i)\n"
8589 " for (uint i = 0u; i < goten.length(); ++i)\n"
8633 program.Uniform(gl, Utils::Type::uint, 1 /* count */, goku_location, uniform_data);
8634 program.Uniform(gl, Utils::Type::uint, m_gohan_length, gohan_location, uniform_data);
8635 program.Uniform(gl, Utils::Type::uint, m_goten_length, goten_location, uniform_data);
12501 std::string globals = "const uint first_input_location = 0u;\n"
12502 "const uint first_output_location = 0u;\n"
12503 "const uint last_input_location = LAST_INPUTu;\n"
12504 "const uint last_output_location = LAST_OUTPUTu;\n";
12694 si.m_globals = "const uint vertex_index_location = 2;\n"
12695 "const uint instance_index_location = 5;\n";
12699 0 /* expected_componenet */, m_loc_vertex /* expected_location */, Utils::Type::uint /* type */,
12703 0 /* expected_componenet */, m_loc_instance /* expected_location */, Utils::Type::uint /* type */,
12847 vao.Attribute(m_loc_vertex /* vertex_index */, Utils::Type::uint, 0 /* array_elements */, false /* normalized */,
12850 vao.Attribute(m_loc_instance /* instance_index */, Utils::Type::uint, 0 /* array_elements */,
14915 name.append(Utils::Type::uint.GetGLSLTypeName());
15025 globals.append("const uint comp_x = 0u;\n"
15026 "const uint comp_y = 1u;\n"
15027 "const uint comp_z = 2u;\n"
15028 "const uint comp_w = 3u;\n");
19729 si.m_globals = "const uint GOKU_LOCATION = 2;\n";
19908 si.m_globals = "const uint GOKU_LOCATION = 2;\n";
21558 static const GLchar* invalid_var_definition = "const uint type_size = SIZE;\n"
21568 static const GLchar* valid_var_definition = "const uint type_size = SIZE;\n"
22418 static const GLchar* invalid_var_definition = "const uint valid_stride = 64;\n"
22420 "const uint conflicting_stride = 64;\n"
22422 "const uint conflicting_stride = 128;\n"
22427 static const GLchar* valid_var_definition = "const uint valid_stride = 64;\n"
22731 "const uint type_size = SIZE;\n"
23354 static const GLchar* gs = "const uint sizeof_type = SIZE;\n"
23662 static const GLchar* var_definition = "const uint valid_stride = 64;\n"
23794 static const GLchar* block_var_definition = "const uint buffer_index = MAX_BUFFER;\n"
23803 static const GLchar* global_var_definition = "const uint buffer_index = MAX_BUFFER;\n"
23810 static const GLchar* vector_var_definition = "const uint buffer_index = MAX_BUFFER;\n"
24129 static const GLchar* block_var_definition = "const uint overflow_offset = MAX_SIZE + 16;\n"
24139 static const GLchar* global_var_definition = "const uint overflow_offset = MAX_SIZE + 16;\n"
24146 static const GLchar* vector_var_definition = "const uint overflow_offset = MAX_SIZE + 16;\n"
24655 "const uint type_size = SIZE;\n"
26188 static const GLchar* vs_tes_gs = "const uint sizeof_type = 16;\n"
26604 static const GLchar* vs_tes_gs = "const uint sizeof_type = 16;\n"
26993 static const GLchar* vs_tes_gs = "const uint sizeof_type = 16;\n"
27338 static const GLchar* vs_tes_gs = "const uint sizeof_type = 16;\n"