Home
last modified time | relevance | path

Searched refs:CompareOp (Results 1 – 25 of 25) sorted by relevance

/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dsampler.cc55 VkCompareOp ToVkCompareOp(CompareOp op) { in ToVkCompareOp()
57 case CompareOp::kNever: in ToVkCompareOp()
59 case CompareOp::kLess: in ToVkCompareOp()
61 case CompareOp::kEqual: in ToVkCompareOp()
63 case CompareOp::kLessOrEqual: in ToVkCompareOp()
65 case CompareOp::kGreater: in ToVkCompareOp()
67 case CompareOp::kNotEqual: in ToVkCompareOp()
69 case CompareOp::kGreaterOrEqual: in ToVkCompareOp()
71 case CompareOp::kAlways: in ToVkCompareOp()
73 case CompareOp::kUnknown: in ToVkCompareOp()
Dgraphics_pipeline.cc100 VkCompareOp ToVkCompareOp(CompareOp op) { in ToVkCompareOp()
102 case CompareOp::kNever: in ToVkCompareOp()
104 case CompareOp::kLess: in ToVkCompareOp()
106 case CompareOp::kEqual: in ToVkCompareOp()
108 case CompareOp::kLessOrEqual: in ToVkCompareOp()
110 case CompareOp::kGreater: in ToVkCompareOp()
112 case CompareOp::kNotEqual: in ToVkCompareOp()
114 case CompareOp::kGreaterOrEqual: in ToVkCompareOp()
116 case CompareOp::kAlways: in ToVkCompareOp()
118 case CompareOp::kUnknown: in ToVkCompareOp()
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline_data.h54 void SetDepthCompareOp(CompareOp op) { depth_compare_op_ = op; } in SetDepthCompareOp()
55 CompareOp GetDepthCompareOp() const { return depth_compare_op_; } in GetDepthCompareOp()
69 void SetFrontCompareOp(CompareOp op) { front_compare_op_ = op; } in SetFrontCompareOp()
70 CompareOp GetFrontCompareOp() const { return front_compare_op_; } in GetFrontCompareOp()
90 void SetBackCompareOp(CompareOp op) { back_compare_op_ = op; } in SetBackCompareOp()
91 CompareOp GetBackCompareOp() const { return back_compare_op_; } in GetBackCompareOp()
190 CompareOp front_compare_op_ = CompareOp::kAlways;
195 CompareOp back_compare_op_ = CompareOp::kAlways;
201 CompareOp depth_compare_op_ = CompareOp::kAlways;
Dsampler.h95 void SetCompareOp(CompareOp compare_op) { compare_op_ = compare_op; } in SetCompareOp()
96 CompareOp GetCompareOp() const { return compare_op_; } in GetCompareOp()
111 CompareOp compare_op_ = CompareOp::kNever;
Dcommand_data.h63 enum class CompareOp : uint8_t { enum
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableValue.cpp32 template <class CompareOp>
42 if (!compareValueRangesAllTrue<CompareOp>(a.member(ndx), b.member(ndx))) in compareValueRangesAllTrue()
51 if (!compareValueRangesAllTrue<CompareOp>(a.arrayElement(ndx), b.arrayElement(ndx))) in compareValueRangesAllTrue()
68 if (!CompareOp()(aMin, aMax, bMin, bMax)) in compareValueRangesAllTrue()
83 if (!CompareOp()(aMin, aMax, bMin, bMax)) in compareValueRangesAllTrue()
96 if (!CompareOp()(aMin, aMax, bMin, bMax)) in compareValueRangesAllTrue()
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dcommand_parser.h73 Result ParseCompareOpNameForTesting(const std::string& name, CompareOp* op) { in ParseCompareOpNameForTesting()
140 Result ParseCompareOp(const std::string& name, CompareOp* op);
141 Result ParseCompareOpName(const std::string& name, CompareOp* op);
Dcommand_parser.cc1733 Result CommandParser::ParseCompareOp(const std::string& name, CompareOp* op) { in ParseCompareOp()
1754 CompareOp* op) { in ParseCompareOpName()
1758 *op = CompareOp::kNever; in ParseCompareOpName()
1760 *op = CompareOp::kLess; in ParseCompareOpName()
1762 *op = CompareOp::kEqual; in ParseCompareOpName()
1764 *op = CompareOp::kLessOrEqual; in ParseCompareOpName()
1766 *op = CompareOp::kGreater; in ParseCompareOpName()
1768 *op = CompareOp::kNotEqual; in ParseCompareOpName()
1770 *op = CompareOp::kGreaterOrEqual; in ParseCompareOpName()
1772 *op = CompareOp::kAlways; in ParseCompareOpName()
[all …]
Dcommand_parser_test.cc2441 EXPECT_EQ(CompareOp::kEqual, in TEST_F()
2453 EXPECT_EQ(CompareOp::kEqual, in TEST_F()
2465 EXPECT_EQ(CompareOp::kEqual, cp.PipelineDataForTesting()->GetBackCompareOp()); in TEST_F()
2470 CompareOp type;
2480 CompareOp op = CompareOp::kNever; in TEST_P()
2490 CompareOpData{"VK_COMPARE_OP_NEVER", CompareOp::kNever},
2491 CompareOpData{"VK_COMPARE_OP_LESS", CompareOp::kLess},
2492 CompareOpData{"VK_COMPARE_OP_EQUAL", CompareOp::kEqual},
2493 CompareOpData{"VK_COMPARE_OP_LESS_OR_EQUAL", CompareOp::kLessOrEqual},
2494 CompareOpData{"VK_COMPARE_OP_GREATER", CompareOp::kGreater},
[all …]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser_sampler_test.cc49 EXPECT_EQ(CompareOp::kNever, sampler->GetCompareOp()); in TEST_F()
89 EXPECT_EQ(CompareOp::kGreater, sampler->GetCompareOp()); in TEST_F()
Dparser_stencil_test.cc82 ASSERT_EQ(CompareOp::kEqual, in TEST_F()
84 ASSERT_EQ(CompareOp::kGreater, in TEST_F()
Dparser.cc156 CompareOp StrToCompareOp(const std::string& str) { in StrToCompareOp()
158 return CompareOp::kNever; in StrToCompareOp()
160 return CompareOp::kLess; in StrToCompareOp()
162 return CompareOp::kEqual; in StrToCompareOp()
164 return CompareOp::kLessOrEqual; in StrToCompareOp()
166 return CompareOp::kGreater; in StrToCompareOp()
168 return CompareOp::kNotEqual; in StrToCompareOp()
170 return CompareOp::kGreaterOrEqual; in StrToCompareOp()
172 return CompareOp::kAlways; in StrToCompareOp()
174 return CompareOp::kUnknown; in StrToCompareOp()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc640 ::dawn::CompareFunction GetDawnCompareOp(::amber::CompareOp op) { in GetDawnCompareOp()
642 case CompareOp::kNever: in GetDawnCompareOp()
644 case CompareOp::kLess: in GetDawnCompareOp()
646 case CompareOp::kEqual: in GetDawnCompareOp()
648 case CompareOp::kLessOrEqual: in GetDawnCompareOp()
650 case CompareOp::kGreater: in GetDawnCompareOp()
652 case CompareOp::kNotEqual: in GetDawnCompareOp()
654 case CompareOp::kGreaterOrEqual: in GetDawnCompareOp()
656 case CompareOp::kAlways: in GetDawnCompareOp()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp262 depthStencilState.depthCompareOp = vk::CompareOp::eLessOrEqual; in createGraphicsPipeline()
266 depthStencilState.back.compareOp = vk::CompareOp::eAlways; in createGraphicsPipeline()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_to_string.hpp5122 VULKAN_HPP_INLINE std::string to_string( CompareOp value ) in to_string()
5126 case CompareOp::eNever: return "Never"; in to_string()
5127 case CompareOp::eLess: return "Less"; in to_string()
5128 case CompareOp::eEqual: return "Equal"; in to_string()
5129 case CompareOp::eLessOrEqual: return "LessOrEqual"; in to_string()
5130 case CompareOp::eGreater: return "Greater"; in to_string()
5131 case CompareOp::eNotEqual: return "NotEqual"; in to_string()
5132 case CompareOp::eGreaterOrEqual: return "GreaterOrEqual"; in to_string()
5133 case CompareOp::eAlways: return "Always"; in to_string()
Dvulkan_raii.hpp5306 …void setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT;
5316 … VULKAN_HPP_NAMESPACE::CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT;
5649 …void setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp ) const VULKAN_HPP_NOEXC…
5659 … VULKAN_HPP_NAMESPACE::CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT;
13773 …VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthComp… in setDepthCompareOp()
13801 … VULKAN_HPP_NAMESPACE::CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT in setStencilOp()
17968 …VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthC… in setDepthCompareOpEXT()
17996 … VULKAN_HPP_NAMESPACE::CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT in setStencilOpEXT()
Dvulkan_handles.hpp4668 void setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp,
4684 VULKAN_HPP_NAMESPACE::CompareOp compareOp,
5455 void setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp,
5471 VULKAN_HPP_NAMESPACE::CompareOp compareOp,
Dvulkan_structs.hpp36336 … VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, in StencilOpState()
36382 …VULKAN_HPP_CONSTEXPR_14 StencilOpState & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ … in setCompareOp()
36424 VULKAN_HPP_NAMESPACE::CompareOp const &,
36458 VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever;
36475 … VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever,
36539 …eDepthStencilStateCreateInfo & setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ … in setDepthCompareOp()
36602 VULKAN_HPP_NAMESPACE::CompareOp const &,
36654 …VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp = VULKAN_HPP_NAME…
92907 …VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNev…
93019 …VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareO… in setCompareOp()
[all …]
Dvulkan_enums.hpp2337 enum class CompareOp enum
Dvulkan_funcs.hpp7224 …VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthComp… in setDepthCompareOp()
7250 … VULKAN_HPP_NAMESPACE::CompareOp compareOp, in setStencilOp()
17626 …VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthC… in setDepthCompareOpEXT()
17652 … VULKAN_HPP_NAMESPACE::CompareOp compareOp, in setStencilOpEXT()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_enums.hpp3698 enum class CompareOp enum
3710 VULKAN_HPP_INLINE std::string to_string( CompareOp value ) in to_string()
3714 case CompareOp::eNever: return "Never"; in to_string()
3715 case CompareOp::eLess: return "Less"; in to_string()
3716 case CompareOp::eEqual: return "Equal"; in to_string()
3717 case CompareOp::eLessOrEqual: return "LessOrEqual"; in to_string()
3718 case CompareOp::eGreater: return "Greater"; in to_string()
3719 case CompareOp::eNotEqual: return "NotEqual"; in to_string()
3720 case CompareOp::eGreaterOrEqual: return "GreaterOrEqual"; in to_string()
3721 case CompareOp::eAlways: return "Always"; in to_string()
Dvulkan_structs.hpp28336 … VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNever, in StencilOpState()
28383 StencilOpState & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ ) VULKAN_HPP_NOEXCEPT in setCompareOp()
28438 VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNever;
28463 …VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNe…
28529 setDepthCompareOp( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp_ ) VULKAN_HPP_NOEXCEPT in setDepthCompareOp()
28610 …VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp = VULKAN_HPP_NAMESPACE::
67563 …VULKAN_HPP_NAMESPACE::CompareOp compareOp_ = VULKAN_HPP_NAMESPACE::CompareOp::eNev…
67674 … SamplerCreateInfo & setCompareOp( VULKAN_HPP_NAMESPACE::CompareOp compareOp_ ) VULKAN_HPP_NOEXCEPT in setCompareOp()
67751 …VULKAN_HPP_NAMESPACE::CompareOp compareOp = VULKAN_HPP_NAMESPACE::CompareOp::eNeve…
Dvulkan_raii.hpp4588 …void setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp ) const VULKAN_HPP_NOEXC…
4598 … VULKAN_HPP_NAMESPACE::CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT;
15293 …CommandBuffer::setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp ) const VULKAN… in setDepthCompareOpEXT()
15330 … VULKAN_HPP_NAMESPACE::CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT in setStencilOpEXT()
Dvulkan_handles.hpp4485 void setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthCompareOp,
4503 VULKAN_HPP_NAMESPACE::CompareOp compareOp,
Dvulkan_funcs.hpp17123 …VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( VULKAN_HPP_NAMESPACE::CompareOp depthC… in setDepthCompareOpEXT()
17151 … VULKAN_HPP_NAMESPACE::CompareOp compareOp, in setStencilOpEXT()