/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/shaders/ |
H A D | generate_shaders.bat | 24 call:BuildShader Passthrough2D11.hlsl VS_Passthrough2D vs_4_0_level_9_3 compiled\passthrough2d11vs.h %debug%
25 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGBA2D ps_4_0_level_9_3 compiled\passthroughrgba2d11ps.h %debug%
26 call:BuildShader Passthrough2D11.hlsl PS_PassthroughA2D ps_4_0_level_9_3 compiled\passthrougha2d11ps.h %debug%
27 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGBA2DMS ps_4_1 compiled\passthroughrgba2dms11ps.h %debug%
28 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGB2D ps_4_0_level_9_3 compiled\passthroughrgb2d11ps.h %debug%
29 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRG2D ps_4_0_level_9_3 compiled\passthroughrg2d11ps.h %debug%
30 call:BuildShader Passthrough2D11.hlsl PS_PassthroughR2D ps_4_0_level_9_3 compiled\passthroughr2d11ps.h %debug%
31 call:BuildShader Passthrough2D11.hlsl PS_PassthroughLum2D ps_4_0_level_9_3 compiled\passthroughlum2d11ps.h %debug%
32 call:BuildShader Passthrough2D11.hlsl PS_PassthroughLumAlpha2D ps_4_0_level_9_3 compiled\passthroughlumalpha2d11ps.h %debug%
34 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGBA2D_444 [all...] |
/third_party/glslang/Test/ |
H A D | runtests | 70 run -D -Od -e flizv -l -q -C -V -Od hlsl.reflection.vert > $TARGETDIR/hlsl.reflection.vert.out 71 diff -b $BASEDIR/hlsl.reflection.vert.out $TARGETDIR/hlsl.reflection.vert.out || HASERROR=1 72 run -D -Od -e main -l -q -C -V -Od hlsl.reflection.binding.frag > $TARGETDIR/hlsl.reflection.binding.frag.out 73 diff -b $BASEDIR/hlsl.reflection.binding.frag.out $TARGETDIR/hlsl.reflection.binding.frag.out || HASERROR=1 74 run -D -Od -e main -l -q --hlsl-iomap --auto-map-bindings --stb 10 --sbb 20 --ssb 30 --suavb 40 --scb 50 -D -V -e main -Od hlsl [all...] |
H A D | validate-shaders.sh | 44 echo "Usage examples. Note most non-hlsl tests fail to compile for expected reasons." 45 echo " Exercise all hlsl.* files:" 46 echo " $(basename $0) hlsl.*" 47 echo " Exercise all hlsl.* files, tersely:" 48 echo " $(basename $0) --terse hlsl.*" 51 echo " Exercise hlsl.* files, only printing validation errors:" 52 echo " $(basename $0) --skip-ok --skip-comperr hlsl.*" 95 # hlsl 104 # If it starts with hlsl, assume it's hlsl [all...] |
/third_party/spirv-tools/test/tools/objdump/ |
H A D | extract_source_test.cpp | 71 %2 = OpString "compute.hlsl" in TEST() 86 ASSERT_TRUE(result["compute.hlsl"] == in TEST() 96 %2 = OpString "compute.hlsl" in TEST() 112 ASSERT_TRUE(result["compute.hlsl"] == in TEST() 122 %2 = OpString "compute.hlsl" in TEST() 137 ASSERT_TRUE(result["compute.hlsl"] == ""); in TEST() 146 %2 = OpString "compute1.hlsl" in TEST() 147 %3 = OpString "compute2.hlsl" in TEST() 163 ASSERT_TRUE(result["compute1.hlsl"] == "some instruction"); in TEST() 164 ASSERT_TRUE(result["compute2.hlsl"] in TEST() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ResourcesHLSL.cpp | 806 TString hlsl; in uniformBlockString() local 808 hlsl += "cbuffer " + blockName + " : register(b" + str(registerIndex) + in uniformBlockString() 814 hlsl += " " + InterfaceBlockStructName(interfaceBlock) + " " + in uniformBlockString() 820 hlsl += uniformBlockMembersString(interfaceBlock, blockStorage); in uniformBlockString() 823 hlsl += "};\n\n"; in uniformBlockString() 825 return hlsl; in uniformBlockString() 834 TString hlsl, typeString; in uniformBlockWithOneLargeArrayMemberString() local 844 hlsl += "struct pack" + Decorate(interfaceBlock.name()) + " { " + typeString + " " + in uniformBlockWithOneLargeArrayMemberString() 855 hlsl += "struct pack" + Decorate(interfaceBlock.name()) + " { " + typeString + " " + in uniformBlockWithOneLargeArrayMemberString() 857 hlsl in uniformBlockWithOneLargeArrayMemberString() 883 TString hlsl; shaderStorageBlockString() local 914 TString hlsl; uniformBlockMembersString() local [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_ext_inst_debug_test.cpp | 303 %src = OpString "simple.hlsl" in TEST_F() 322 %src = OpString "simple.hlsl" in TEST_F() 347 %src = OpString "simple.hlsl" in TEST_F() 373 %src = OpString "simple.hlsl" in TEST_P() 412 %src = OpString "simple.hlsl" in TEST_P() 465 %src = OpString "simple.hlsl" in TEST_F() 494 %src = OpString "simple.hlsl" in TEST_F() 524 %src = OpString "simple.hlsl" in TEST_F() 564 %src = OpString "simple.hlsl" in TEST_F() 589 %src = OpString "simple.hlsl" in TEST_F() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_ext_inst_debug_test.cpp | 303 %src = OpString "simple.hlsl" in TEST_F() 322 %src = OpString "simple.hlsl" in TEST_F() 347 %src = OpString "simple.hlsl" in TEST_F() 373 %src = OpString "simple.hlsl" in TEST_P() 412 %src = OpString "simple.hlsl" in TEST_P() 465 %src = OpString "simple.hlsl" in TEST_F() 494 %src = OpString "simple.hlsl" in TEST_F() 524 %src = OpString "simple.hlsl" in TEST_F() 564 %src = OpString "simple.hlsl" in TEST_F() 589 %src = OpString "simple.hlsl" in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_ext_inst_debug_test.cpp | 303 %src = OpString "simple.hlsl" in TEST_F() 322 %src = OpString "simple.hlsl" in TEST_F() 347 %src = OpString "simple.hlsl" in TEST_F() 373 %src = OpString "simple.hlsl" in TEST_P() 412 %src = OpString "simple.hlsl" in TEST_P() 465 %src = OpString "simple.hlsl" in TEST_F() 494 %src = OpString "simple.hlsl" in TEST_F() 524 %src = OpString "simple.hlsl" in TEST_F() 564 %src = OpString "simple.hlsl" in TEST_F() 589 %src = OpString "simple.hlsl" in TEST_F() [all...] |
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineStateBuilder.cpp | 81 const SkSL::String& hlsl, in GrCompileHLSLShader() 106 HRESULT hr = D3DCompile(hlsl.c_str(), hlsl.length(), nullptr, nullptr, nullptr, "main", in GrCompileHLSLShader() 110 hlsl.c_str(), reinterpret_cast<char*>(errors->GetBufferPointer())); in GrCompileHLSLShader() 117 SkSL::String hlsl[kGrShaderTypeCount]; in loadHLSLFromCache() local 120 if (!GrPersistentCacheUtils::UnpackCachedShaders(reader, hlsl, inputs, kGrShaderTypeCount)) { in loadHLSLFromCache() 128 shaders[shaderType] = GrCompileHLSLShader(fGpu, hlsl[shaderType], kind); in loadHLSLFromCache() 601 SkSL::String hlsl[kGrShaderTypeCount]; in finalize() local 614 &inputs[shaderType], &hlsl[shaderType]); in finalize() 630 hlsl[ in finalize() 80 GrCompileHLSLShader(GrD3DGpu* gpu, const SkSL::String& hlsl, SkSL::ProgramKind kind) GrCompileHLSLShader() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | HLSLCompiler.cpp | 208 const std::string &hlsl, in compileToBinary() 225 stream << "#line 2 \"" << sourcePath << "\"\n\n" << hlsl; in compileToBinary() local 239 ANGLE_TRACE_EVENT1("gpu.angle", "D3DCompile", "source", hlsl); in compileToBinary() 241 result = mD3DCompileFunc(hlsl.c_str(), hlsl.length(), gl::g_fakepath, macros, nullptr, in compileToBinary() 255 // WARN() << std::endl << hlsl; in compileToBinary() 304 "// COMPILER INPUT HLSL BEGIN\n\n" + hlsl + "\n// COMPILER INPUT HLSL END\n"; in compileToBinary() 206 compileToBinary(d3d::Context *context, gl::InfoLog &infoLog, const std::string &hlsl, const std::string &profile, const std::vector<CompileConfig> &configs, const D3D_SHADER_MACRO *overrideMacros, ID3DBlob **outCompiledBlob, std::string *outDebugInfo) compileToBinary() argument
|
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLSPIRVtoHLSL.cpp | 22 bool SPIRVtoHLSL(const String& spirv, String* hlsl) { in SPIRVtoHLSL() argument 39 hlsl->assign(hlslCompiler.compile()); in SPIRVtoHLSL()
|
H A D | SkSLSPIRVtoHLSL.h | 15 bool SPIRVtoHLSL(const String& spirv, String* hlsl);
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator.h | 35 namespace hlsl { namespace 82 std::string hlsl = ""; member 100 } // namespace hlsl
|
H A D | generator.cc | 15 #include "src/writer/hlsl/generator.h" 17 #include "src/writer/hlsl/generator_impl.h" 21 namespace hlsl { namespace 49 result.hlsl = impl->result(); in Generate() 65 } // namespace hlsl
|
H A D | generator_impl_discard_test.cc | 15 #include "src/writer/hlsl/test_helper.h" 19 namespace hlsl { namespace 37 } // namespace hlsl
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
H A D | tint_common_fuzzer.h | 34 void GenerateHlslOptions(DataBuilder* b, writer::hlsl::Options* options); 78 void SetOptionsHlsl(const writer::hlsl::Options& options) { in SetOptionsHlsl() 101 writer::hlsl::Options options_hlsl_;
|
H A D | data_builder.h | 25 #include "src/writer/hlsl/generator.h" 177 /// Specialization for writer::hlsl::Options 179 struct BuildImpl<writer::hlsl::Options> { 180 /// Generate a pseudo-random writer::hlsl::Options struct 182 /// @returns writer::hlsl::Options filled with pseudo-random data 183 static writer::hlsl::Options impl(DataBuilder* b) { in impl() 184 writer::hlsl::Options out{}; in impl()
|
H A D | tint_common_fuzzer.cc | 101 void GenerateHlslOptions(DataBuilder* b, writer::hlsl::Options* options) { in GenerateHlslOptions() 102 *options = b->build<writer::hlsl::Options>(); in GenerateHlslOptions() 236 auto result = writer::hlsl::Generate(&program, options_hlsl_); in Run() 237 generated_hlsl_ = std::move(result.hlsl); in Run()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_c.cpp | 166 CompilerHLSL::Options hlsl; member 375 opt->hlsl = static_cast<CompilerHLSL *>(compiler->compiler.get())->get_hlsl_options(); in spvc_compiler_create_compiler_options() 482 options->hlsl.shader_model = value; in spvc_compiler_options_set_uint() 486 options->hlsl.point_size_compat = value != 0; in spvc_compiler_options_set_uint() 490 options->hlsl.point_coord_compat = value != 0; in spvc_compiler_options_set_uint() 494 options->hlsl.support_nonzero_base_vertex_base_instance = value != 0; in spvc_compiler_options_set_uint() 498 options->hlsl.force_storage_buffer_as_uav = value != 0; in spvc_compiler_options_set_uint() 502 options->hlsl.nonwritable_uav_texture_as_srv = value != 0; in spvc_compiler_options_set_uint() 506 options->hlsl.enable_16bit_types = value != 0; in spvc_compiler_options_set_uint() 510 options->hlsl in spvc_compiler_options_set_uint() 876 auto &hlsl = *static_cast<CompilerHLSL *>(compiler->compiler.get()); spvc_compiler_hlsl_set_root_constants_layout() local 911 auto &hlsl = *static_cast<CompilerHLSL *>(compiler->compiler.get()); spvc_compiler_hlsl_add_vertex_attribute_remap() local 937 auto &hlsl = *static_cast<CompilerHLSL *>(compiler->compiler.get()); spvc_compiler_hlsl_remap_num_workgroups_builtin() local 955 auto &hlsl = *static_cast<CompilerHLSL *>(compiler->compiler.get()); spvc_compiler_hlsl_set_resource_binding_flags() local 975 auto &hlsl = *static_cast<CompilerHLSL *>(compiler->compiler.get()); spvc_compiler_hlsl_add_resource_binding() local 1007 auto &hlsl = *static_cast<CompilerHLSL *>(compiler->compiler.get()); spvc_compiler_hlsl_is_resource_used() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | eliminate_dead_functions_test.cpp | 214 %5 = OpString "ps.hlsl" in TEST_F() 284 %5 = OpString "ps.hlsl" in TEST_F()
|
H A D | replace_invalid_opc_test.cpp | 445 %6 = OpString "test.hlsl" in TEST_F() 489 {SPV_MSG_WARNING, "test.hlsl", 2, 4, in TEST_F() 505 %6 = OpString "test.hlsl" in TEST_F() 551 {SPV_MSG_WARNING, "test.hlsl", 2, 4, in TEST_F() 554 {SPV_MSG_WARNING, "test.hlsl", 12, 4, in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | eliminate_dead_functions_test.cpp | 214 %5 = OpString "ps.hlsl" in TEST_F() 284 %5 = OpString "ps.hlsl" in TEST_F()
|
H A D | replace_invalid_opc_test.cpp | 445 %6 = OpString "test.hlsl" in TEST_F() 489 {SPV_MSG_WARNING, "test.hlsl", 2, 4, in TEST_F() 505 %6 = OpString "test.hlsl" in TEST_F() 551 {SPV_MSG_WARNING, "test.hlsl", 2, 4, in TEST_F() 554 {SPV_MSG_WARNING, "test.hlsl", 12, 4, in TEST_F()
|
/third_party/spirv-tools/test/opt/ |
H A D | eliminate_dead_functions_test.cpp | 214 %5 = OpString "ps.hlsl" in TEST_F() 284 %5 = OpString "ps.hlsl" in TEST_F()
|
H A D | replace_invalid_opc_test.cpp | 475 %6 = OpString "test.hlsl" in TEST_F() 519 {SPV_MSG_WARNING, "test.hlsl", 2, 4, in TEST_F() 535 %6 = OpString "test.hlsl" in TEST_F() 581 {SPV_MSG_WARNING, "test.hlsl", 2, 4, in TEST_F() 584 {SPV_MSG_WARNING, "test.hlsl", 12, 4, in TEST_F()
|