dawn-cmake/src/ast
dan sinclair 7a480f4313 [spirv-writer] Start emitting types
This CL starts the emitting of SPIR-V types. This CL adds code to emit
the `AliasType`, `BoolType`, `F32Type`, `I32Type`, `MatrixType`,
`U32Type`, `VectorType` and `VoidType`.

Bug: tint:5
Change-Id: Ic13026ca9006fc0a253d019b1a6dd984ae992fba
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17561
Reviewed-by: David Neto <dneto@google.com>
2020-03-24 15:03:29 +00:00
..
type [spirv-writer] Start emitting types 2020-03-24 15:03:29 +00:00
array_accessor_expression.cc Extend array accessor validity checks 2020-03-10 19:11:35 +00:00
array_accessor_expression.h Add unit test for ArrayAccessorExpression 2020-03-03 14:09:27 +00:00
array_accessor_expression_test.cc Extend array accessor validity checks 2020-03-10 19:11:35 +00:00
as_expression.cc Add unit tests for AsExpression 2020-03-05 16:35:40 +00:00
as_expression.h Add unit tests for AsExpression 2020-03-05 16:35:40 +00:00
as_expression_test.cc Add unit tests for AsExpression 2020-03-05 16:35:40 +00:00
assignment_statement.cc Add test for assignment statement. 2020-03-05 20:20:39 +00:00
assignment_statement.h Add test for assignment statement. 2020-03-05 20:20:39 +00:00
assignment_statement_test.cc Add test for assignment statement. 2020-03-05 20:20:39 +00:00
binding_decoration.cc Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
binding_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
binding_decoration_test.cc Add binding decoration to string test 2020-03-10 19:18:51 +00:00
bool_literal.cc Initial commit 2020-03-02 15:47:43 -05:00
bool_literal.h Initial commit 2020-03-02 15:47:43 -05:00
bool_literal_test.cc Initial commit 2020-03-02 15:47:43 -05:00
break_statement.cc Add BreakStatement test 2020-03-05 20:29:13 +00:00
break_statement.h Add BreakStatement test 2020-03-05 20:29:13 +00:00
break_statement_test.cc Add BreakStatement test 2020-03-05 20:29:13 +00:00
builtin.cc Initial commit 2020-03-02 15:47:43 -05:00
builtin.h Initial commit 2020-03-02 15:47:43 -05:00
builtin_decoration.cc Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
builtin_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
builtin_decoration_test.cc Add builtin decoration to_str test. 2020-03-10 19:19:06 +00:00
call_expression.cc Add test for call expression 2020-03-05 20:35:57 +00:00
call_expression.h Add test for call expression 2020-03-05 20:35:57 +00:00
call_expression_test.cc Add test for call expression 2020-03-05 20:35:57 +00:00
case_statement.cc Add case statement tests 2020-03-06 14:28:01 +00:00
case_statement.h Initial commit 2020-03-02 15:47:43 -05:00
case_statement_test.cc Add case statement tests 2020-03-06 14:28:01 +00:00
cast_expression.cc Add cast expression tests 2020-03-06 21:18:19 +00:00
cast_expression.h Add cast expression tests 2020-03-06 21:18:19 +00:00
cast_expression_test.cc Add cast expression tests 2020-03-06 21:18:19 +00:00
const_initializer_expression.cc Add ConstInitializerExpression tests 2020-03-06 21:18:50 +00:00
const_initializer_expression.h Add ConstInitializerExpression tests 2020-03-06 21:18:50 +00:00
const_initializer_expression_test.cc Add ConstInitializerExpression tests 2020-03-06 21:18:50 +00:00
continue_statement.cc Add ContinueStatement unit test 2020-03-09 13:23:22 +00:00
continue_statement.h Add ContinueStatement unit test 2020-03-09 13:23:22 +00:00
continue_statement_test.cc Add ContinueStatement unit test 2020-03-09 13:23:22 +00:00
decorated_variable.cc Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
decorated_variable.h Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
decorated_variable_test.cc Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
derivative_modifier.cc Initial commit 2020-03-02 15:47:43 -05:00
derivative_modifier.h Initial commit 2020-03-02 15:47:43 -05:00
else_statement.cc Add tests for if statement AST 2020-03-16 13:39:44 +00:00
else_statement.h Initial commit 2020-03-02 15:47:43 -05:00
else_statement_test.cc Add tests for if statement AST 2020-03-16 13:39:44 +00:00
entry_point.cc Extend entry point to str testing 2020-03-10 19:18:29 +00:00
entry_point.h Initial commit 2020-03-02 15:47:43 -05:00
entry_point_test.cc Extend entry point to str testing 2020-03-10 19:18:29 +00:00
expression.cc Initial commit 2020-03-02 15:47:43 -05:00
expression.h Initial commit 2020-03-02 15:47:43 -05:00
fallthrough_statement.cc Add fallthrough statement tests 2020-03-10 19:19:18 +00:00
fallthrough_statement.h Initial commit 2020-03-02 15:47:43 -05:00
fallthrough_statement_test.cc Add fallthrough statement tests 2020-03-10 19:19:18 +00:00
float_literal.cc Initial commit 2020-03-02 15:47:43 -05:00
float_literal.h Initial commit 2020-03-02 15:47:43 -05:00
float_literal_test.cc Initial commit 2020-03-02 15:47:43 -05:00
function.cc Add function tests 2020-03-10 19:19:28 +00:00
function.h Emit WGSL Break statement. 2020-03-20 19:02:05 +00:00
function_test.cc Add function tests 2020-03-10 19:19:28 +00:00
identifier_expression.cc Add identifier expression tests 2020-03-16 13:26:10 +00:00
identifier_expression.h Initial commit 2020-03-02 15:47:43 -05:00
identifier_expression_test.cc Add identifier expression tests 2020-03-16 13:26:10 +00:00
if_statement.cc Add tests for if statement AST 2020-03-16 13:39:44 +00:00
if_statement.h Add case statement tests 2020-03-06 14:28:01 +00:00
if_statement_test.cc Add tests for if statement AST 2020-03-16 13:39:44 +00:00
import.cc Initial commit 2020-03-02 15:47:43 -05:00
import.h Initial commit 2020-03-02 15:47:43 -05:00
import_test.cc Initial commit 2020-03-02 15:47:43 -05:00
initializer_expression.cc Initial commit 2020-03-02 15:47:43 -05:00
initializer_expression.h Initial commit 2020-03-02 15:47:43 -05:00
int_literal.cc Initial commit 2020-03-02 15:47:43 -05:00
int_literal.h Initial commit 2020-03-02 15:47:43 -05:00
int_literal_test.cc Initial commit 2020-03-02 15:47:43 -05:00
kill_statement.cc Initial commit 2020-03-02 15:47:43 -05:00
kill_statement.h Initial commit 2020-03-02 15:47:43 -05:00
kill_statement_test.cc Add LocationDecoration ToStr test. 2020-03-16 13:47:24 +00:00
literal.cc Initial commit 2020-03-02 15:47:43 -05:00
literal.h Initial commit 2020-03-02 15:47:43 -05:00
location_decoration.cc Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
location_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
location_decoration_test.cc Add LocationDecoration ToStr test. 2020-03-16 13:47:24 +00:00
loop_statement.cc Add MemberAccessorExpression tests 2020-03-16 14:17:28 +00:00
loop_statement.h Emit loop statement. 2020-03-20 19:07:00 +00:00
loop_statement_test.cc Emit loop statement. 2020-03-20 19:07:00 +00:00
member_accessor_expression.cc Add MemberAccessorExpression tests 2020-03-16 14:17:28 +00:00
member_accessor_expression.h Add MemberAccessorExpression tests 2020-03-16 14:17:28 +00:00
member_accessor_expression_test.cc Add MemberAccessorExpression tests 2020-03-16 14:17:28 +00:00
module.cc add ast::Module::to_str 2020-03-18 20:09:44 +00:00
module.h v-0001: Only allowed import is GLSL.std.450 2020-03-04 20:51:29 +00:00
module_test.cc add ast::Module::to_str 2020-03-18 20:09:44 +00:00
node.cc Initial commit 2020-03-02 15:47:43 -05:00
node.h Initial commit 2020-03-02 15:47:43 -05:00
nop_statement.cc Initial commit 2020-03-02 15:47:43 -05:00
nop_statement.h Initial commit 2020-03-02 15:47:43 -05:00
nop_statement_test.cc Add tests for NopStatement. 2020-03-16 14:31:58 +00:00
pipeline_stage.cc Initial commit 2020-03-02 15:47:43 -05:00
pipeline_stage.h Initial commit 2020-03-02 15:47:43 -05:00
regardless_statement.cc Add tests for RegardlessStatement 2020-03-17 03:42:02 +00:00
regardless_statement.h Add tests for RegardlessStatement 2020-03-17 03:42:02 +00:00
regardless_statement_test.cc Add tests for RegardlessStatement 2020-03-17 03:42:02 +00:00
relational_expression.cc Add RelationalExpression tests 2020-03-17 03:48:36 +00:00
relational_expression.h Emit relation expressions. 2020-03-20 19:01:19 +00:00
relational_expression_test.cc Add RelationalExpression tests 2020-03-17 03:48:36 +00:00
return_statement.cc Add ReturnStatement test 2020-03-17 03:51:29 +00:00
return_statement.h Emit Return statements. 2020-03-20 19:05:10 +00:00
return_statement_test.cc Emit Return statements. 2020-03-20 19:05:10 +00:00
set_decoration.cc Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
set_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
set_decoration_test.cc Add SetDecoration to_str test 2020-03-17 03:51:55 +00:00
statement.cc Initial commit 2020-03-02 15:47:43 -05:00
statement.h Initial commit 2020-03-02 15:47:43 -05:00
statement_condition.cc Initial commit 2020-03-02 15:47:43 -05:00
statement_condition.h Initial commit 2020-03-02 15:47:43 -05:00
storage_class.cc Start WGSL writer 2020-03-12 12:40:01 +00:00
storage_class.h Initial commit 2020-03-02 15:47:43 -05:00
struct.cc Add Struct IsValid tests. 2020-03-17 03:52:21 +00:00
struct.h Add Struct IsValid tests. 2020-03-17 03:52:21 +00:00
struct_decoration.cc Initial commit 2020-03-02 15:47:43 -05:00
struct_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
struct_member.cc Add more StructMember tests. 2020-03-17 03:53:06 +00:00
struct_member.h Initial commit 2020-03-02 15:47:43 -05:00
struct_member_decoration.cc Initial commit 2020-03-02 15:47:43 -05:00
struct_member_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
struct_member_offset_decoration.cc Initial commit 2020-03-02 15:47:43 -05:00
struct_member_offset_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
struct_member_offset_decoration_test.cc Initial commit 2020-03-02 15:47:43 -05:00
struct_member_test.cc Add more StructMember tests. 2020-03-17 03:53:06 +00:00
struct_test.cc Add Struct IsValid tests. 2020-03-17 03:52:21 +00:00
switch_statement.cc Add SwitchStatement tests 2020-03-17 03:53:41 +00:00
switch_statement.h Initial commit 2020-03-02 15:47:43 -05:00
switch_statement_test.cc Add SwitchStatement tests 2020-03-17 03:53:41 +00:00
type_initializer_expression.cc Add TypeInitializerExpression tests 2020-03-17 03:54:07 +00:00
type_initializer_expression.h Add TypeInitializerExpression tests 2020-03-17 03:54:07 +00:00
type_initializer_expression_test.cc Add TypeInitializerExpression tests 2020-03-17 03:54:07 +00:00
uint_literal.cc Initial commit 2020-03-02 15:47:43 -05:00
uint_literal.h Initial commit 2020-03-02 15:47:43 -05:00
uint_literal_test.cc Initial commit 2020-03-02 15:47:43 -05:00
unary_derivative.cc Initial commit 2020-03-02 15:47:43 -05:00
unary_derivative.h Initial commit 2020-03-02 15:47:43 -05:00
unary_derivative_expression.cc Add UnaryDerivativeExpression tests 2020-03-17 03:54:38 +00:00
unary_derivative_expression.h Add UnaryDerivativeExpression tests 2020-03-17 03:54:38 +00:00
unary_derivative_expression_test.cc Add UnaryDerivativeExpression tests 2020-03-17 03:54:38 +00:00
unary_method.cc Initial commit 2020-03-02 15:47:43 -05:00
unary_method.h Initial commit 2020-03-02 15:47:43 -05:00
unary_method_expression.cc Add unit tests for UnaryMethodExpression. 2020-03-17 14:20:11 +00:00
unary_method_expression.h Add unit tests for UnaryMethodExpression. 2020-03-17 14:20:11 +00:00
unary_method_expression_test.cc Add unit tests for UnaryMethodExpression. 2020-03-17 14:20:11 +00:00
unary_op.cc Initial commit 2020-03-02 15:47:43 -05:00
unary_op.h Initial commit 2020-03-02 15:47:43 -05:00
unary_op_expression.cc Add unit tests for UnaryOpExpression 2020-03-17 14:25:02 +00:00
unary_op_expression.h Add unit tests for UnaryOpExpression 2020-03-17 14:25:02 +00:00
unary_op_expression_test.cc Add unit tests for UnaryOpExpression 2020-03-17 14:25:02 +00:00
unless_statement.cc Add UnlessStatement tests. 2020-03-17 14:57:16 +00:00
unless_statement.h Add UnlessStatement tests. 2020-03-17 14:57:16 +00:00
unless_statement_test.cc Add UnlessStatement tests. 2020-03-17 14:57:16 +00:00
variable.cc Add Variable test for invalid initializer. 2020-03-17 14:59:06 +00:00
variable.h Add DecoratedVariable tests 2020-03-10 17:47:56 +00:00
variable_decoration.cc Initial commit 2020-03-02 15:47:43 -05:00
variable_decoration.h Initial commit 2020-03-02 15:47:43 -05:00
variable_statement.cc Add unit test for VariableStatement. 2020-03-17 14:59:46 +00:00
variable_statement.h Add unit test for VariableStatement. 2020-03-17 14:59:46 +00:00
variable_statement_test.cc Add unit test for VariableStatement. 2020-03-17 14:59:46 +00:00
variable_test.cc Add Variable test for invalid initializer. 2020-03-17 14:59:06 +00:00