clang-format the src/Device directory

Bug: b/144825072

Change-Id: I2e9c18aa5e3d394d18f86ca597aed6d6dc8dfe93
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39654
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Device/VertexProcessor.hpp b/src/Device/VertexProcessor.hpp
index c94e82e..d72fd10 100644
--- a/src/Device/VertexProcessor.hpp
+++ b/src/Device/VertexProcessor.hpp
@@ -29,7 +29,7 @@
 // Basic direct mapped vertex cache.
 struct VertexCache
 {
-	static constexpr uint32_t SIZE = 64;  // TODO: Variable size?
+	static constexpr uint32_t SIZE = 64;            // TODO: Variable size?
 	static constexpr uint32_t TAG_MASK = SIZE - 1;  // Size must be power of 2.
 
 	void clear();
@@ -50,14 +50,16 @@
 	VertexCache vertexCache;
 };
 
-using VertexRoutineFunction = FunctionT<void(Vertex* output, unsigned int* batch, VertexTask* vertextask, DrawData* draw)>;
+using VertexRoutineFunction = FunctionT<void(Vertex *output, unsigned int *batch, VertexTask *vertextask, DrawData *draw)>;
 
 class VertexProcessor
 {
 public:
 	struct States : Memset<States>
 	{
-		States() : Memset(this, 0) {}
+		States()
+		    : Memset(this, 0)
+		{}
 
 		uint32_t computeHash();
 
@@ -65,16 +67,16 @@
 
 		struct Input
 		{
-			operator bool() const   // Returns true if stream contains data
+			operator bool() const  // Returns true if stream contains data
 			{
 				return count != 0;
 			}
 
 			unsigned int bytesPerAttrib() const;
 
-			StreamType type    : BITS(STREAMTYPE_LAST);
+			StreamType type : BITS(STREAMTYPE_LAST);
 			unsigned int count : 3;
-			bool normalized    : 1;
+			bool normalized : 1;
 			unsigned int attribType : BITS(SpirvShader::ATTRIBTYPE_LAST);
 		};
 
@@ -97,7 +99,7 @@
 	virtual ~VertexProcessor();
 
 protected:
-	const State update(const sw::Context* context);
+	const State update(const sw::Context *context);
 	RoutineType routine(const State &state, vk::PipelineLayout const *pipelineLayout,
 	                    SpirvShader const *vertexShader, const vk::DescriptorSet::Bindings &descriptorSets);
 
@@ -110,4 +112,4 @@
 
 }  // namespace sw
 
-#endif   // sw_VertexProcessor_hpp
+#endif  // sw_VertexProcessor_hpp