Home
last modified time | relevance | path

Searched refs:shader_id (Results 1 – 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cClipDistance.cpp1191 if (m_vertex_shader_status.shader_id) in Program()
1193 m_gl.deleteShader(m_vertex_shader_status.shader_id); in Program()
1195 m_vertex_shader_status.shader_id = 0; in Program()
1198 if (m_fragment_shader_status.shader_id) in Program()
1200 m_gl.deleteShader(m_fragment_shader_status.shader_id); in Program()
1202 m_fragment_shader_status.shader_id = 0; in Program()
1209 if (m_vertex_shader_status.shader_id) in ~Program()
1211 m_gl.deleteShader(m_vertex_shader_status.shader_id); in ~Program()
1213 m_vertex_shader_status.shader_id = 0; in ~Program()
1216 if (m_fragment_shader_status.shader_id) in ~Program()
[all …]
Dgl3cGLSLnoperspectiveTests.cpp42 void compile_shader(deqp::Context& context, glw::GLuint shader_id, const glw::GLchar* shader_code) in compile_shader() argument
51 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile_shader()
55 gl.compileShader(shader_id); in compile_shader()
59 gl.getShaderiv(shader_id, GL_COMPILE_STATUS, &status); in compile_shader()
69 gl.getShaderiv(shader_id, GL_INFO_LOG_LENGTH, &length); in compile_shader()
76 gl.getShaderInfoLog(shader_id, length, 0, &message[0]); in compile_shader()
Dgl3cGPUShader5Tests.cpp133 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile() argument
142 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
146 gl.compileShader(shader_id); in compile()
150 gl.getShaderiv(shader_id, GL_COMPILE_STATUS, &status); in compile()
160 gl.getShaderiv(shader_id, GL_INFO_LOG_LENGTH, &length); in compile()
167 gl.getShaderInfoLog(shader_id, length, 0, &message[0]); in compile()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_core.cpp96 unsigned shader_id = bc->debug_id; in r600_sb_bytecode_process() local
108 SB_DUMP_STAT( sblog << "\nsb: shader " << shader_id << "\n"; ); in r600_sb_bytecode_process()
142 if ((sb_context::dskip_start <= shader_id && in r600_sb_bytecode_process()
143 shader_id <= sb_context::dskip_end) == in r600_sb_bytecode_process()
145 sblog << "sb: skipped shader " << shader_id << " : " << "[" in r600_sb_bytecode_process()
272 sblog << "sb: processing shader " << shader_id << " done ( " in r600_sb_bytecode_process()
/third_party/spirv-tools/source/opt/
Dinst_debug_printf_pass.h33 InstDebugPrintfPass(uint32_t desc_set, uint32_t shader_id) in InstDebugPrintfPass() argument
34 : InstrumentPass(desc_set, shader_id, kInstValidationIdDebugPrintf) {} in InstDebugPrintfPass()
Dinst_buff_addr_check_pass.h34 InstBuffAddrCheckPass(uint32_t desc_set, uint32_t shader_id) in InstBuffAddrCheckPass() argument
35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBuffAddr) {} in InstBuffAddrCheckPass()
Dinst_bindless_check_pass.h31 InstBindlessCheckPass(uint32_t desc_set, uint32_t shader_id, in InstBindlessCheckPass() argument
35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBindless, in InstBindlessCheckPass()
Doptimizer.cpp942 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, in CreateInstBindlessCheckPass() argument
946 desc_set, shader_id, desc_length_enable, desc_init_enable, in CreateInstBindlessCheckPass()
952 uint32_t shader_id) { in CreateInstDebugPrintfPass() argument
954 MakeUnique<opt::InstDebugPrintfPass>(desc_set, shader_id)); in CreateInstDebugPrintfPass()
958 uint32_t shader_id) { in CreateInstBuffAddrCheckPass() argument
960 MakeUnique<opt::InstBuffAddrCheckPass>(desc_set, shader_id)); in CreateInstBuffAddrCheckPass()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dinst_debug_printf_pass.h33 InstDebugPrintfPass(uint32_t desc_set, uint32_t shader_id) in InstDebugPrintfPass() argument
34 : InstrumentPass(desc_set, shader_id, kInstValidationIdDebugPrintf) {} in InstDebugPrintfPass()
Dinst_buff_addr_check_pass.h34 InstBuffAddrCheckPass(uint32_t desc_set, uint32_t shader_id) in InstBuffAddrCheckPass() argument
35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBuffAddr) {} in InstBuffAddrCheckPass()
Dinst_bindless_check_pass.h31 InstBindlessCheckPass(uint32_t desc_set, uint32_t shader_id, in InstBindlessCheckPass() argument
35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBindless, in InstBindlessCheckPass()
Dinstrument_pass.h87 InstrumentPass(uint32_t desc_set, uint32_t shader_id, uint32_t validation_id,
91 shader_id_(shader_id), in Pass()
Doptimizer.cpp917 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, in CreateInstBindlessCheckPass() argument
921 desc_set, shader_id, desc_length_enable, desc_init_enable, in CreateInstBindlessCheckPass()
927 uint32_t shader_id) { in CreateInstDebugPrintfPass() argument
929 MakeUnique<opt::InstDebugPrintfPass>(desc_set, shader_id)); in CreateInstDebugPrintfPass()
933 uint32_t shader_id) { in CreateInstBuffAddrCheckPass() argument
935 MakeUnique<opt::InstBuffAddrCheckPass>(desc_set, shader_id)); in CreateInstBuffAddrCheckPass()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dinst_debug_printf_pass.h33 InstDebugPrintfPass(uint32_t desc_set, uint32_t shader_id) in InstDebugPrintfPass() argument
34 : InstrumentPass(desc_set, shader_id, kInstValidationIdDebugPrintf) {} in InstDebugPrintfPass()
Dinst_buff_addr_check_pass.h34 InstBuffAddrCheckPass(uint32_t desc_set, uint32_t shader_id) in InstBuffAddrCheckPass() argument
35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBuffAddr) {} in InstBuffAddrCheckPass()
Dinst_bindless_check_pass.h31 InstBindlessCheckPass(uint32_t desc_set, uint32_t shader_id, in InstBindlessCheckPass() argument
35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBindless, in InstBindlessCheckPass()
Dinstrument_pass.h87 InstrumentPass(uint32_t desc_set, uint32_t shader_id, uint32_t validation_id,
91 shader_id_(shader_id), in Pass()
Doptimizer.cpp917 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, in CreateInstBindlessCheckPass() argument
921 desc_set, shader_id, desc_length_enable, desc_init_enable, in CreateInstBindlessCheckPass()
927 uint32_t shader_id) { in CreateInstDebugPrintfPass() argument
929 MakeUnique<opt::InstDebugPrintfPass>(desc_set, shader_id)); in CreateInstDebugPrintfPass()
933 uint32_t shader_id) { in CreateInstBuffAddrCheckPass() argument
935 MakeUnique<opt::InstBuffAddrCheckPass>(desc_set, shader_id)); in CreateInstBuffAddrCheckPass()
/third_party/skia/third_party/externals/spirv-tools/include/spirv-tools/
Doptimizer.hpp752 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable = false,
776 uint32_t shader_id);
788 uint32_t shader_id);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Doptimizer.hpp752 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable = false,
776 uint32_t shader_id);
788 uint32_t shader_id);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
DesextcTestCaseBase.hpp163 void shaderSourceSpecialized(glw::GLuint shader_id, glw::GLsizei shader_count,
195 std::string getShaderSource(glw::GLuint shader_id);
196 std::string getCompilationInfoLog(glw::GLuint shader_id);
DesextcTestCaseBase.cpp347 void TestCaseBase::shaderSourceSpecialized(glw::GLuint shader_id, glw::GLsizei shader_count, in shaderSourceSpecialized() argument
354 gl.shaderSource(shader_id, 1, &specialized_cstr, NULL); in shaderSourceSpecialized()
820 std::string TestCaseBase::getShaderSource(glw::GLuint shader_id) in getShaderSource() argument
826 gl.getShaderiv(shader_id, GL_SHADER_SOURCE_LENGTH, &length); in getShaderSource()
830 gl.getShaderSource(shader_id, length + 1, NULL, &result_vec[0]); in getShaderSource()
845 std::string TestCaseBase::getCompilationInfoLog(glw::GLuint shader_id) in getCompilationInfoLog() argument
847 return getInfoLog(LT_SHADER_OBJECT, shader_id); in getCompilationInfoLog()
/third_party/spirv-tools/include/spirv-tools/
Doptimizer.hpp754 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable = false,
778 uint32_t shader_id);
790 uint32_t shader_id);
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c1095 uint32_t shader_id = VK_SHADER_UNUSED_KHR; in visit_any_hit_shaders() local
1099 shader_id = group_info->anyHitShader; in visit_any_hit_shaders()
1104 if (shader_id == VK_SHADER_UNUSED_KHR) in visit_any_hit_shaders()
1107 const VkPipelineShaderStageCreateInfo *stage = &pCreateInfo->pStages[shader_id]; in visit_any_hit_shaders()
1110 vars->stage_idx = shader_id; in visit_any_hit_shaders()
1293 uint32_t shader_id = VK_SHADER_UNUSED_KHR; in insert_traversal_aabb_case() local
1298 shader_id = group_info->intersectionShader; in insert_traversal_aabb_case()
1304 if (shader_id == VK_SHADER_UNUSED_KHR) in insert_traversal_aabb_case()
1307 const VkPipelineShaderStageCreateInfo *stage = &pCreateInfo->pStages[shader_id]; in insert_traversal_aabb_case()
1319 inner_vars.stage_idx = shader_id; in insert_traversal_aabb_case()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderInvariance.cpp355 glw::GLuint shader_id = 0; in initTest() local
382 shader_id = gl.createShader(shader_type_es); in initTest()
409 shaderSourceSpecialized(shader_id, 1, &shader_body_ptr); in initTest()
414 &shader_id, true); /* should_succeed */ in initTest()
422 shared_fs_id = shader_id; in initTest()
426 shared_tc_id = shader_id; in initTest()
430 shared_te_id = shader_id; in initTest()
434 shared_vs_id = shader_id; in initTest()
444 shader_id = (shader_type == SHADER_TYPE_FRAGMENT) ? in initTest()
452 gl.attachShader(program.po_id, shader_id); in initTest()
[all …]

123