Home
last modified time | relevance | path

Searched refs:shader_code (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/workgroups/
Ddefault_calculator.cc31 uint3 CalculateInternal(const ShaderCode& shader_code) const final { in CalculateInternal()
32 const auto& workload = shader_code.workload; in CalculateInternal()
59 uint3 CalculateInternal(const ShaderCode& shader_code) const final { in CalculateInternal()
60 const auto& workload = shader_code.workload; in CalculateInternal()
Dcalculator.cc64 uint3 WorkgroupsCalculator::Calculate(const ShaderCode& shader_code) const { in Calculate()
65 uint3 workgroup_size = shader_code.recommended_workgroup; in Calculate()
67 workgroup_size = CalculateInternal(shader_code); in Calculate()
Dcalculator_from_metadata.cc57 uint3 CalculateInternal(const ShaderCode& shader_code) const final { in CalculateInternal()
58 auto it = workgroups_.find(shader_code.node_indices[0]); in CalculateInternal()
61 : default_calculator_->Calculate(shader_code); in CalculateInternal()
Dcalculator.h45 uint3 Calculate(const ShaderCode& shader_code) const;
48 virtual uint3 CalculateInternal(const ShaderCode& shader_code) const = 0;
DBUILD13 "//tensorflow/lite/delegates/gpu/gl/compiler:shader_code",
/external/deqp/external/openglcts/modules/gl/
Dgl4cStencilTexturingTests.cpp894 std::string shader_code[N_FUNCTIONAL_TEST_SHADER_STAGES]; in prepareProgram() local
912 shader_code[i] = shader_templates[i]; in prepareProgram()
916 Utils::replaceToken("TYPE", position, type, shader_code[i]); in prepareProgram()
917 Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, shader_code[i]); in prepareProgram()
922 Utils::replaceToken("SAMPLER_DEFINITION", position, sampler_definition, shader_code[i]); in prepareProgram()
923 Utils::replaceToken("EXPECTED_VALUE", position, expected_value, shader_code[i]); in prepareProgram()
928 Utils::createAndBuildProgram(m_context, 0 /* cs_code */, shader_code[0].c_str() /* fs_code */, in prepareProgram()
929 shader_code[1].c_str() /* gs_code */, shader_code[2].c_str() /* tcs_code */, in prepareProgram()
930 shader_code[3].c_str() /* tes_code */, shader_code[4].c_str() /* vs_code */); in prepareProgram()
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()
82 << tcu::TestLog::KernelSource(shader_code); in compile_shader()
Dgl3cGPUShader5Tests.hpp73 void compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const;
Dgl3cGPUShader5Tests.cpp133 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile()
142 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
173 << shader_code << tcu::TestLog::EndMessage; in compile()
Dgl3cTextureSwizzleTests.hpp54 void compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const;
Dgl3cClipDistance.cpp1269 const glw::GLenum shader_type, const glw::GLchar* const* shader_code) in compileShader() argument
1273 if (shader_code != DE_NULL) in compileShader()
1283 m_gl.shaderSource(shader.shader_id, 1, shader_code, NULL); in compileShader()
Dgl3cClipDistance.hpp104 …pilationStatus compileShader(const glw::GLenum shader_type, const glw::GLchar* const* shader_code);
Dgl4cGPUShaderFP64Tests.hpp58 void compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const;
707 void compile(deqp::Context& context, glw::GLuint shader_id, const glw::GLchar* shader_code) const;
Dgl3cTextureSwizzleTests.cpp2044 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile()
2053 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
2084 << shader_code << tcu::TestLog::EndMessage; in compile()
Dgl4cShaderSubroutineTests.hpp95 void compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const;
Dgl4cGPUShaderFP64Tests.cpp215 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile()
224 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
255 << shader_code << tcu::TestLog::EndMessage; in compile()
4775 const glw::GLchar* shader_code) const in compile()
4784 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
4815 << shader_code << tcu::TestLog::EndMessage; in compile()
Dgl4cShaderSubroutineTests.cpp330 void Utils::program::compile(glw::GLuint shader_id, const glw::GLchar* shader_code) const in compile()
339 gl.shaderSource(shader_id, 1 /* count */, &shader_code, 0); in compile()
370 << shader_code << tcu::TestLog::EndMessage; in compile()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp221 std::string shader_code = specializeShader(parts_count, sh_code_parts); in verifyShaderCompilationStatus() local
222 const char* shader_code_ptr = shader_code.c_str(); in verifyShaderCompilationStatus()
249 << shader_code << "\n\n did compile with result different than expected:\n" in verifyShaderCompilationStatus()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
DBUILD64 name = "shader_code",
65 hdrs = ["shader_code.h"],
82 ":shader_code",
132 ":shader_code",
Dshader_codegen.cc37 ShaderCode* shader_code) const { in Build()
175 *shader_code = in Build()
Dshader_codegen.h43 ShaderCode* shader_code) const;
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dcompiler.cc283 ShaderCode shader_code; in Compile() local
284 RETURN_IF_ERROR(codegen.Build(std::move(attr), &shader_code)); in Compile()
285 RETURN_IF_ERROR(callback(std::move(shader_code))); in Compile()
DBUILD128 "//tensorflow/lite/delegates/gpu/gl/compiler:shader_code",
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1514 VkShaderObj::VkShaderObj(VkDeviceObj *device, const char *shader_code, VkShaderStageFlagBits stage,… in VkShaderObj() argument
1532 framework->GLSLtoSPV(stage, shader_code, spv, debug); in VkShaderObj()