mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 13:14:56 +00:00
Add EmitVertexPointSizeTransform
EmitVertexPointSizeTransform is a Transformer that adds a PointSize builtin global output variable to the module which is assigned 1.0 as the new first statement for all vertex stage entry points. If the module does not contain a vertex pipeline stage entry point then then this transformer is a no-op. Bug: tint:321 Change-Id: I0e01236339d9fa1ceab3622af0931a1199c33b99 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34561 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
685cb02ea8
commit
76d12f0f5a
@@ -26,6 +26,7 @@
|
||||
#include "src/namer.h"
|
||||
#include "src/reader/reader.h"
|
||||
#include "src/transform/bound_array_accessors_transform.h"
|
||||
#include "src/transform/emit_vertex_point_size_transform.h"
|
||||
#include "src/transform/manager.h"
|
||||
#include "src/transform/vertex_pulling_transform.h"
|
||||
#include "src/type_determiner.h"
|
||||
|
||||
Reference in New Issue
Block a user