Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/amber/src/android_sample/jni/
Damber_script.cc46 std::string GetShaderID(const std::string& shader_name) { in GetShaderID() argument
47 size_t spv_extension_pos = shader_name.find_last_of('.'); in GetShaderID()
52 shader_name.find_last_of('.', spv_extension_pos - 1UL) + 1UL; in GetShaderID()
56 if (shader_id_pos >= spv_extension_pos || shader_name.size() <= shader_id_pos) in GetShaderID()
59 return shader_name.substr(shader_id_pos, spv_extension_pos - shader_id_pos); in GetShaderID()
146 const std::string& shader_name) { in ReadSpvShader() argument
147 auto content = ReadContent(shader_name); in ReadSpvShader()
Damber_script.h62 std::vector<uint32_t> ReadSpvShader(const std::string& shader_name);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/amber/
DvktAmberTestCase.cpp346 …programCollection.spirvAsmSources.add(shader.shader_name) << shader.shader_source << m_asm_options; in initPrograms()
355 programCollection.glslSources.add(shader.shader_name) in initPrograms()
360 programCollection.glslSources.add(shader.shader_name) in initPrograms()
365 programCollection.glslSources.add(shader.shader_name) in initPrograms()
370 programCollection.glslSources.add(shader.shader_name) in initPrograms()
375 programCollection.glslSources.add(shader.shader_name) in initPrograms()
380 programCollection.glslSources.add(shader.shader_name) in initPrograms()
425 if (!m_context.getBinaryCollection().contains(shader.shader_name)) in iterate()
428 size_t len = m_context.getBinaryCollection().get(shader.shader_name).getSize(); in iterate()
434 deMemcpy(data.data(), m_context.getBinaryCollection().get(shader.shader_name).getBinary(), len); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber/
DvktAmberTestCase.cpp346 …programCollection.spirvAsmSources.add(shader.shader_name) << shader.shader_source << m_asm_options; in initPrograms()
355 programCollection.glslSources.add(shader.shader_name) in initPrograms()
360 programCollection.glslSources.add(shader.shader_name) in initPrograms()
365 programCollection.glslSources.add(shader.shader_name) in initPrograms()
370 programCollection.glslSources.add(shader.shader_name) in initPrograms()
375 programCollection.glslSources.add(shader.shader_name) in initPrograms()
380 programCollection.glslSources.add(shader.shader_name) in initPrograms()
425 if (!m_context.getBinaryCollection().contains(shader.shader_name)) in iterate()
428 size_t len = m_context.getBinaryCollection().get(shader.shader_name).getSize(); in iterate()
434 deMemcpy(data.data(), m_context.getBinaryCollection().get(shader.shader_name).getBinary(), len); in iterate()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstgldeinterlace.c419 const gchar * shader_name, const gchar * shader_source) in gst_gl_deinterlace_get_fragment_shader() argument
426 shader = g_hash_table_lookup (deinterlace_filter->shaderstable, shader_name); in gst_gl_deinterlace_get_fragment_shader()
444 ("Failed to initialize %s shader", shader_name), (NULL)); in gst_gl_deinterlace_get_fragment_shader()
453 g_hash_table_insert (deinterlace_filter->shaderstable, (gchar *) shader_name, in gst_gl_deinterlace_get_fragment_shader()
Dgstgleffects.c563 const gchar * shader_name, const gchar * shader_source_gles2) in gst_gl_effects_get_fragment_shader() argument
569 shader = g_hash_table_lookup (effects->shaderstable, shader_name); in gst_gl_effects_get_fragment_shader()
588 ("Failed to initialize %s shader", shader_name), (NULL)); in gst_gl_effects_get_fragment_shader()
597 g_hash_table_insert (effects->shaderstable, (gchar *) shader_name, shader); in gst_gl_effects_get_fragment_shader()
Dgstgleffects.h95 const gchar * shader_name, const gchar * shader_source_gles2);
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_builtins.c92 const char *shader_name, in st_nir_make_passthrough_shader() argument
105 "%s", shader_name); in st_nir_make_passthrough_shader()
Dst_nir.h68 const char *shader_name,
Dst_cb_clear.c136 const char *shader_name = layered ? "layered clear VS" : "clear VS"; in make_nir_clear_vertex_shader() local
146 return st_nir_make_passthrough_shader(st, shader_name, MESA_SHADER_VERTEX, in make_nir_clear_vertex_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c614 const char *shader_name; member
644 fprintf(f, COLOR_GREEN "%s%s slot %u (%s):" COLOR_RESET "\n", chunk->shader_name, in si_log_chunk_desc_list_print()
697 const char *shader_name, const char *elem_name, in si_dump_descriptor_list() argument
723 chunk->shader_name = shader_name; in si_dump_descriptor_list()
752 static const char *shader_name[] = {"VS", "PS", "GS", "TCS", "TES", "CS"}; in si_dump_descriptors() local
753 const char *name = shader_name[processor]; in si_dump_descriptors()
/third_party/vk-gl-cts/external/amber/src/include/amber/
Dshader_info.h52 std::string shader_name; member
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c42 shader_name(unsigned type) in shader_name() function
578 _debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in dump_SVGA3dCmdSetShader()
1045 _debug_printf("\t\t.type = %s\n", shader_name((*cmd).type)); in dump_SVGA3dCmdSetShaderConst()
1054 _debug_printf("\t\t.type = %s\n", shader_name((*cmd).shaderType)); in dump_SVGA3dCmdSetGBShaderConstInline()
1416 _debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in dump_SVGA3dCmdDefineGBShader()
1507 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1513 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1709 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1892 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
1940 debug_printf("\t\t.type = %s\n", shader_name(cmd->type)); in SVGA3D_DUMP_HEADER()
/third_party/mesa3d/src/intel/blorp/
Dblorp.c36 static const char *shader_name[] = { in blorp_shader_type_to_name() local
44 assert(type < ARRAY_SIZE(shader_name)); in blorp_shader_type_to_name()
46 return shader_name[type]; in blorp_shader_type_to_name()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dengine_vulkan.cc294 const auto shader_name = shader.GetShader()->GetName(); in SetShader() local
302 if (shaders_.find(shader_name) != shaders_.end()) { in SetShader()
303 shader_module = shaders_[shader_name]; in SetShader()
316 shaders_[shader_name] = shader_module; in SetShader()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.c427 static const char *shader_name[RC_NUM_PROGRAM_TYPES] = { variable
442 fprintf(stderr, "%s: after '%s'\n", shader_name[c->type], list[i].name); in rc_run_compiler_passes()
454 fprintf(stderr, "%s: before compilation\n", shader_name[c->type]); in rc_run_compiler()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp963 std::string shader_name("basic_compute_"); in buildShader() local
965 shader_name += (ndx == PIPELINE_CACHE_NDX_DERIVATIVE) ? "2" : "1"; in buildShader()
973 m_context.getBinaryCollection().get(shader_name).getSize(), // deUintptr codeSize; in buildShader()
974 …(deUint32*)m_context.getBinaryCollection().get(shader_name).getBinary(), // const deUint32* pCo… in buildShader()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationFeedbackTests.cpp963 std::string shader_name("basic_compute_"); in buildShader() local
965 shader_name += (ndx == PIPELINE_CACHE_NDX_DERIVATIVE) ? "2" : "1"; in buildShader()
973 m_context.getBinaryCollection().get(shader_name).getSize(), // deUintptr codeSize; in buildShader()
974 …(deUint32*)m_context.getBinaryCollection().get(shader_name).getBinary(), // const deUint32* pCo… in buildShader()
/third_party/vk-gl-cts/external/amber/src/src/
Dscript_test.cc57 EXPECT_EQ("my_pipeline-Shader1", info[0].shader_name); in TEST_F()
65 EXPECT_EQ("Shader2", info[1].shader_name); in TEST_F()
/third_party/vk-gl-cts/external/amber/src/docs/
Damber_script.md119 SHADER vertex {shader_name} PASSTHROUGH
125 # Creates a shader of |shader_type| with the given |shader_name|. The shader
128 SHADER {shader_type} {shader_name} {shader_format} [ TARGET_ENV {target_env} ]
136 # Creates a shader of |shader_type| with the given |shader_name|. The shader
138 SHADER {shader_type} {shader_name} {shader_format} [ TARGET_ENV {target_env} ] VIRTUAL_FILE {path}
141 `{shader_name}` is used to identify the shader to attach to `PIPELINE`s,
437 SHADER_OPTIMIZATION {shader_name}
445 COMPILE_OPTIONS {shader_name}
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs.h477 void enable_debug(const char *shader_name);
579 const char *shader_name; variable
Dbrw_fs_generator.cpp197 shader_name(NULL), stage(stage), mem_ctx(mem_ctx) in fs_generator()
1757 fs_generator::enable_debug(const char *shader_name) in enable_debug() argument
1760 this->shader_name = shader_name; in enable_debug()
2574 shader_name, sha1buf, in generate_code()
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dcommand_parser.cc137 std::string shader_name = cmd_name; in Parse() local
147 shader_name += " " + token->AsString(); in Parse()
152 return Result(make_error("Unknown command: " + shader_name)); in Parse()
154 r = ProcessEntryPoint(shader_name); in Parse()
/third_party/vk-gl-cts/external/amber/src/samples/
Damber.cc635 shader_file << "; " << sh.shader_name << std::endl