Home
last modified time | relevance | path

Searched full:hlsl (Results 1 – 25 of 925) sorted by relevance

12345678910>>...37

/external/deqp-deps/glslang/gtests/
DHlsl.FromFile.cpp68 // Compiling HLSL to pre-legalized SPIR-V under Vulkan semantics. Expected
73 … Source::HLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
80 … Source::HLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_1, glslang::EShTargetSpv_1_3, in TEST_P()
87 Source::HLSL, Semantics::Vulkan, in TEST_P()
91 // Compiling HLSL to legal SPIR-V under Vulkan semantics. Expected to
96 … Source::HLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
101 // Compiling HLSL to pre-legalized SPIR-V. Expected to successfully generate
106 … Source::HLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0, in TEST_P()
113 … loadFileCompileAndCheckWithOptions(GlobalTestSettings.testRoot, GetParam().fileName, Source::HLSL, in TEST_P()
120 // Compiling HLSL to legalized SPIR-V with debug instructions. Expected to
[all …]
DRemap.FromFile.cpp106 // HLSL remapper tests
107 … { "remap.hlsl.sample.basic.strip.frag", "main", Source::HLSL, spv::spirvbin_t::STRIP },
108 …{ "remap.hlsl.sample.basic.everything.frag", "main", Source::HLSL, spv::spirvbin_t::DO_EVERYTHING…
109 … { "remap.hlsl.sample.basic.none.frag", "main", Source::HLSL, spv::spirvbin_t::NONE },
110 … { "remap.hlsl.templatetypes.none.frag", "main", Source::HLSL, spv::spirvbin_t::NONE },
111 …{ "remap.hlsl.templatetypes.everything.frag", "main", Source::HLSL, spv::spirvbin_t::DO_EVERYTHING…
/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/
Dgenerate_shaders.bat24 call:BuildShader Passthrough2D11.hlsl VS_Passthrough2D vs_4_0_level_9_3 compiled\passthrou…
25 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGBA2D ps_4_0_level_9_3 compiled\passthrou…
26 call:BuildShader Passthrough2D11.hlsl PS_PassthroughA2D ps_4_0_level_9_3 compiled\passthrou…
27 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGBA2DMS ps_4_1 compiled\passthrou…
28 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGB2D ps_4_0_level_9_3 compiled\passthrou…
29 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRG2D ps_4_0_level_9_3 compiled\passthrou…
30 call:BuildShader Passthrough2D11.hlsl PS_PassthroughR2D ps_4_0_level_9_3 compiled\passthrou…
31 call:BuildShader Passthrough2D11.hlsl PS_PassthroughLum2D ps_4_0_level_9_3 compiled\passthrou…
32 call:BuildShader Passthrough2D11.hlsl PS_PassthroughLumAlpha2D ps_4_0_level_9_3 compiled\passthrou…
34 call:BuildShader Passthrough2D11.hlsl PS_PassthroughRGBA2D_4444 ps_4_0_level_9_3 compiled\passthrou…
[all …]
/external/deqp-deps/amber/tests/cases/
Ddebugger_hlsl_function_call.amber18 VIRTUAL_FILE "compute.hlsl"
48 SHADER compute shader HLSL VIRTUAL_FILE "compute.hlsl"
57 --legalize-hlsl
65 "main" "compute.hlsl" 26
67 EXPECT LOCATION "compute.hlsl" 26 " data[0] = A(data[0]);"
71 "A" "compute.hlsl" 18
72 "main" "compute.hlsl" 26
74 EXPECT LOCATION "compute.hlsl" 18 "{"
78 "A" "compute.hlsl" 19
79 "main" "compute.hlsl" 26
[all …]
Ddebugger_hlsl_shadowed_vars.amber18 VIRTUAL_FILE "vs.hlsl"
48 VIRTUAL_FILE "fs.hlsl"
54 SHADER vertex vtex_shader HLSL VIRTUAL_FILE "vs.hlsl"
55 SHADER fragment frag_shader HLSL VIRTUAL_FILE "fs.hlsl"
102 --legalize-hlsl
107 --legalize-hlsl
120 EXPECT LOCATION "vs.hlsl" 7 " float a = 1.0;"
122 EXPECT LOCATION "vs.hlsl" 8 " float b = 2.0;"
125 EXPECT LOCATION "vs.hlsl" 9 " float c = 3.0;"
129 EXPECT LOCATION "vs.hlsl" 10 " float x = a + b + c;"
[all …]
Ddebugger_hlsl_basic_fragment_with_legalization.amber18 VIRTUAL_FILE "vs.hlsl"
32 VIRTUAL_FILE "fs.hlsl"
42 SHADER vertex vtex_shader HLSL VIRTUAL_FILE "vs.hlsl"
43 SHADER fragment frag_shader HLSL VIRTUAL_FILE "fs.hlsl"
62 --legalize-hlsl
67 --legalize-hlsl
79 EXPECT LOCATION "fs.hlsl" 2 " int r = color.r * 255;"
82 EXPECT LOCATION "fs.hlsl" 3 " int g = color.g * 255;"
86 EXPECT LOCATION "fs.hlsl" 4 " int b = color.b * 255;"
91 EXPECT LOCATION "fs.hlsl" 5 " int a = color.a * 255;"
[all …]
Ddebugger_hlsl_basic_fragment.amber18 VIRTUAL_FILE "vs.hlsl"
32 VIRTUAL_FILE "fs.hlsl"
42 SHADER vertex vtex_shader HLSL VIRTUAL_FILE "vs.hlsl"
43 SHADER fragment frag_shader HLSL VIRTUAL_FILE "fs.hlsl"
81 EXPECT LOCATION "fs.hlsl" 2 " int r = color.r * 255;"
84 EXPECT LOCATION "fs.hlsl" 3 " int g = color.g * 255;"
88 EXPECT LOCATION "fs.hlsl" 4 " int b = color.b * 255;"
93 EXPECT LOCATION "fs.hlsl" 5 " int a = color.a * 255;"
99 EXPECT LOCATION "fs.hlsl" 6 " return color;"
Ddebugger_hlsl_basic_vertex_with_legalization.amber18 VIRTUAL_FILE "vs.hlsl"
33 VIRTUAL_FILE "fs.hlsl"
39 SHADER vertex vtex_shader HLSL VIRTUAL_FILE "vs.hlsl"
40 SHADER fragment frag_shader HLSL VIRTUAL_FILE "fs.hlsl"
89 --legalize-hlsl
94 --legalize-hlsl
107 EXPECT LOCATION "vs.hlsl" 9 " vout.pos = pos;"
118 EXPECT LOCATION "vs.hlsl" 10 " vout.color = color;"
123 EXPECT LOCATION "vs.hlsl" 12 "}"
Drelative_includes_hlsl.amber17 VIRTUAL_FILE "relative.hlsl"
21 VIRTUAL_FILE "subdir/relative.hlsl"
37 VIRTUAL_FILE "subdir/include.hlsl"
38 #include "relative.hlsl"
41 VIRTUAL_FILE "main.hlsl"
42 #include "subdir/include.hlsl"
45 SHADER vertex vtex_shader HLSL VIRTUAL_FILE main.hlsl
47 SHADER fragment frag_shader HLSL
Ddebugger_hlsl_basic_compute.amber18 VIRTUAL_FILE "compute.hlsl"
33 SHADER compute shader HLSL VIRTUAL_FILE "compute.hlsl"
42 --legalize-hlsl
49 EXPECT LOCATION "compute.hlsl" 7 " int a = data[0];"
51 EXPECT LOCATION "compute.hlsl" 8 " int b = data[1];"
54 EXPECT LOCATION "compute.hlsl" 9 " int c = data[2];"
58 EXPECT LOCATION "compute.hlsl" 10 " int d = data[3];"
63 EXPECT LOCATION "compute.hlsl" 11 " data[0] = a + b + c + d;"
Ddebugger_hlsl_basic_vertex.amber18 VIRTUAL_FILE "vs.hlsl"
33 VIRTUAL_FILE "fs.hlsl"
39 SHADER vertex vtex_shader HLSL VIRTUAL_FILE "vs.hlsl"
40 SHADER fragment frag_shader HLSL VIRTUAL_FILE "fs.hlsl"
109 EXPECT LOCATION "vs.hlsl" 9 " vout.pos = pos;"
120 EXPECT LOCATION "vs.hlsl" 10 " vout.color = color;"
125 EXPECT LOCATION "vs.hlsl" 11 " return vout;"
/external/deqp-deps/glslang/Test/
Druntests70 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.bindin…
73 diff -b $BASEDIR/hlsl.reflection.binding.frag.out $TARGETDIR/hlsl.reflection.binding.frag.out || HA…
74 …in -l -q --hlsl-iomap --auto-map-bindings --stb 10 --sbb 20 --ssb 30 --suavb 40 --scb 50 -D -V -e …
75 diff -b $BASEDIR/hlsl.automap.frag.out $TARGETDIR/hlsl.automap.frag.out || HASERROR=1
94 …try-point main_in_spv --ku --source-entrypoint main -Od hlsl.entry.rename.frag > $TARGETDIR/hlsl.e…
95 diff -b $BASEDIR/hlsl.entry.rename.frag.out $TARGETDIR/hlsl.entry.rename.frag.out || HASERROR=1
101 run -D -Od -e main -H -Od hlsl.deadFunctionMissingBody.vert > $TARGETDIR/hlsl.deadFunctionMissingBo…
102 diff -b $BASEDIR/hlsl.deadFunctionMissingBody.vert.out $TARGETDIR/hlsl.deadFunctionMissingBody.vert…
[all …]
Dvalidate-shaders.sh15 declare -r gtests='../gtests/Hlsl.FromFile.cpp ../gtests/Spv.FromFile.cpp'
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 …]
/external/deqp-deps/glslang/hlsl/
DCMakeLists.txt34 # The HLSL source is directly embedded into the glslang target when ENABLE_HLSL
36 # This source now lives at: glslang/HLSL/
37 # The HLSL target is now just a stub that exists for backwards compatibility for
40 add_library(HLSL ${LIB_TYPE} "stub.cpp") target
41 set_property(TARGET HLSL PROPERTY FOLDER hlsl)
42 set_property(TARGET HLSL PROPERTY POSITION_INDEPENDENT_CODE ON)
45 set_target_properties(HLSL PROPERTIES PREFIX "")
50 install(TARGETS HLSL EXPORT HLSLTargets
55 install(TARGETS HLSL EXPORT HLSLTargets
/external/deqp-deps/glslang/glslang/
DCMakeLists.txt114 HLSL/hlslAttributes.cpp
115 HLSL/hlslParseHelper.cpp
116 HLSL/hlslScanContext.cpp
117 HLSL/hlslOpMap.cpp
118 HLSL/hlslTokenStream.cpp
119 HLSL/hlslGrammar.cpp
120 HLSL/hlslParseables.cpp)
123 HLSL/hlslAttributes.h
124 HLSL/hlslParseHelper.h
125 HLSL/hlslTokens.h
[all …]
/external/deqp-deps/glslang/
DBUILD.gn189 "glslang/HLSL/hlslParseHelper.h",
190 "glslang/HLSL/hlslParseables.h",
191 "glslang/HLSL/hlslScanContext.h",
192 "glslang/HLSL/hlslTokens.h",
197 "glslang/HLSL/hlslAttributes.cpp",
198 "glslang/HLSL/hlslAttributes.h",
199 "glslang/HLSL/hlslGrammar.cpp",
200 "glslang/HLSL/hlslGrammar.h",
201 "glslang/HLSL/hlslOpMap.cpp",
202 "glslang/HLSL/hlslOpMap.h",
[all …]
DAndroid.bp115 "glslang/HLSL",
148 "glslang/HLSL/hlslAttributes.cpp",
149 "glslang/HLSL/hlslParseHelper.cpp",
150 "glslang/HLSL/hlslScanContext.cpp",
151 "glslang/HLSL/hlslOpMap.cpp",
152 "glslang/HLSL/hlslTokenStream.cpp",
153 "glslang/HLSL/hlslGrammar.cpp",
154 "glslang/HLSL/hlslParseables.cpp",
/external/angle/src/compiler/translator/
DResourcesHLSL.cpp7 // Methods for GLSL to HLSL translation for uniforms and interface blocks.
51 // Use HLSL row-major packing for GLSL column-major matrices in InterfaceBlockFieldTypeString()
61 // Use HLSL row-major packing for GLSL column-major matrices in InterfaceBlockFieldTypeString()
487 // In the case of HLSL 4, sampler uniforms need to be grouped by type before the code is in uniformsHeader()
488 // written. They are grouped based on the combination of the HLSL texture type and in uniformsHeader()
489 // HLSL sampler type, enumerated in HLSLTextureSamplerGroup. in uniformsHeader()
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()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Ddebug_info_manager_test.cpp50 %5 = OpString "ps.hlsl"
51 %14 = OpString "#line 1 \"ps.hlsl\"
72 %16 = OpExtInst %void %1 DebugCompilationUnit 1 4 %15 HLSL
106 %5 = OpString "ps.hlsl"
107 %14 = OpString "#line 1 \"ps.hlsl\"
128 %16 = OpExtInst %void %1 DebugCompilationUnit 1 4 %15 HLSL
195 %5 = OpString "ps.hlsl"
196 %14 = OpString "#line 1 \"ps.hlsl\"
217 %16 = OpExtInst %void %1 DebugCompilationUnit 1 4 %15 HLSL
252 %5 = OpString "ps.hlsl"
[all …]
Dir_loader_test.cpp336 // /* HLSL */ in TEST()
354 %7 = OpString "simple_vs.hlsl" in TEST()
355 %8 = OpString "#line 1 \"simple_vs.hlsl\" in TEST()
369 OpSource HLSL 600 %7 "#line 1 \"simple_vs.hlsl\" in TEST()
428 %35 = OpExtInst %void %1 DebugCompilationUnit 2 4 %34 HLSL in TEST()
473 // /* HLSL */ in TEST()
493 %5 = OpString "block/block.hlsl" in TEST()
494 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
510 OpSource HLSL 600 %5 "#line 1 \"block/block.hlsl\" in TEST()
568 %41 = OpExtInst %void %1 DebugCompilationUnit 2 4 %40 HLSL in TEST()
[all …]
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteAtomicFunctionExpressions.h7 // atomic function calls and cannot be directly translated into HLSL into
8 // several simple ones that can be easily handled in the HLSL translator.
12 // original value of the shared or ssbo variable; while all HLSL atomic
15 // 2. For HLSL atomic functions, the last parameter that stores the original
19 // error from HLSL compiler.
23 // directly translated into HLSL expressions.
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddebug_info_manager_test.cpp47 %5 = OpString "ps.hlsl"
48 %14 = OpString "#line 1 \"ps.hlsl\"
69 %16 = OpExtInst %void %1 DebugCompilationUnit 1 4 %15 HLSL
103 %5 = OpString "ps.hlsl"
104 %14 = OpString "#line 1 \"ps.hlsl\"
125 %16 = OpExtInst %void %1 DebugCompilationUnit 1 4 %15 HLSL
192 %5 = OpString "ps.hlsl"
193 %14 = OpString "#line 1 \"ps.hlsl\"
214 %16 = OpExtInst %void %1 DebugCompilationUnit 1 4 %15 HLSL
249 %5 = OpString "ps.hlsl"
[all …]
Dir_loader_test.cpp336 // /* HLSL */ in TEST()
354 %7 = OpString "simple_vs.hlsl" in TEST()
355 %8 = OpString "#line 1 \"simple_vs.hlsl\" in TEST()
369 OpSource HLSL 600 %7 "#line 1 \"simple_vs.hlsl\" in TEST()
428 %35 = OpExtInst %void %1 DebugCompilationUnit 2 4 %34 HLSL in TEST()
473 // /* HLSL */ in TEST()
493 %5 = OpString "block/block.hlsl" in TEST()
494 %6 = OpString "#line 1 \"block/block.hlsl\" in TEST()
510 OpSource HLSL 600 %5 "#line 1 \"block/block.hlsl\" in TEST()
568 %41 = OpExtInst %void %1 DebugCompilationUnit 2 4 %40 HLSL in TEST()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DHLSLCompiler.cpp152 WARN() << "Failed to load HLSL compiler library. Using 'old' DLL."; in ensureInitialized()
208 const std::string &hlsl, in compileToBinary() argument
225 stream << "#line 2 \"" << sourcePath << "\"\n\n" << hlsl; in compileToBinary()
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()
341 ANGLE_TRY_HR(context, result, "HLSL compiler had an unexpected failure"); in compileToBinary()
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.includeNegative.vert.out1 hlsl.includeNegative.vert
5 ERROR: hlsl.includeNegative.vert:7: '#error' : in main
6 hlsl.includeNegative.vert(8): error at column 0, HLSL parsing failed.

12345678910>>...37