Home
last modified time | relevance | path

Searched refs:shaderStream (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DConstantFoldingTest.cpp23 std::stringstream shaderStream; in evaluateFloat() local
24 shaderStream << "#version 310 es\n" in evaluateFloat()
32 compileAssumeSuccess(shaderStream.str()); in evaluateFloat()
40 std::stringstream shaderStream; in evaluateInt() local
41 shaderStream << "#version 310 es\n" in evaluateInt()
49 compileAssumeSuccess(shaderStream.str()); in evaluateInt()
57 std::stringstream shaderStream; in evaluateUint() local
58 shaderStream << "#version 310 es\n" in evaluateUint()
66 compileAssumeSuccess(shaderStream.str()); in evaluateUint()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp1014 std::stringstream shaderStream; in generateGeometryShaderHLSL() local
1068 shaderStream << "cbuffer DriverConstants : register(b0)\n" in generateGeometryShaderHLSL()
1073 shaderStream << " float4 dx_ViewCoords : packoffset(c1);\n"; in generateGeometryShaderHLSL()
1076 shaderStream << " float2 dx_ViewScale : packoffset(c3);\n"; in generateGeometryShaderHLSL()
1084 shaderStream << " float multiviewSelectViewportIndex : packoffset(c3.z);\n"; in generateGeometryShaderHLSL()
1087 shaderStream << "};\n\n"; in generateGeometryShaderHLSL()
1092 shaderStream << "#define ANGLE_POINT_SPRITE_SHADER\n" in generateGeometryShaderHLSL()
1118 shaderStream << preambleString << "\n" in generateGeometryShaderHLSL()
1124 shaderStream << "uint primitiveID : SV_PrimitiveID, "; in generateGeometryShaderHLSL()
1127 shaderStream << " inout " << outputPT << "Stream<GS_OUTPUT> outStream)\n" in generateGeometryShaderHLSL()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DShader.cpp443 std::ostringstream shaderStream; in resolveCompile() local
444 shaderStream << "// GLSL\n"; in resolveCompile()
445 shaderStream << "//\n"; in resolveCompile()
454 shaderStream << "// " << line; in resolveCompile()
459 shaderStream << "\\"; in resolveCompile()
462 shaderStream << std::endl; in resolveCompile()
464 shaderStream << "\n\n"; in resolveCompile()
465 shaderStream << mState.mTranslatedSource; in resolveCompile()
466 mState.mTranslatedSource = shaderStream.str(); in resolveCompile()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp309 std::stringstream shaderStream; in compileMultiAttribProgram() local
311 shaderStream << "attribute mediump vec4 position;" << std::endl; in compileMultiAttribProgram()
314 shaderStream << "attribute float a" << attribIndex << ";" << std::endl; in compileMultiAttribProgram()
316 shaderStream << "varying mediump float color;" << std::endl in compileMultiAttribProgram()
322 shaderStream << " color += a" << attribIndex << ";" << std::endl; in compileMultiAttribProgram()
324 shaderStream << "}" << std::endl; in compileMultiAttribProgram()
333 return CompileProgram(shaderStream.str().c_str(), kFS); in compileMultiAttribProgram()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp6245 OptRastStream shaderStream; // Stream in the geometry shader. in createExtendedDynamicStateTests() member
6274 config.shaderRasterizationStream = rastStreamCase.shaderStream; in createExtendedDynamicStateTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineExtendedDynamicStateTests.cpp6245 OptRastStream shaderStream; // Stream in the geometry shader. in createExtendedDynamicStateTests() member
6274 config.shaderRasterizationStream = rastStreamCase.shaderStream; in createExtendedDynamicStateTests()