dawn-cmake/src/ast
dan sinclair 16a2ea11d3 Add type determination for the select intrinsic.
This CL adds type determination for a `select` intrinsic.

Bug: tint:106
Change-Id: Ie5c051cb42c72ae732579e3064561a4544a90473
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/25380
Reviewed-by: David Neto <dneto@google.com>
2020-07-21 17:44:44 +00:00
..
type Differentiate size and stride in array type name. 2020-07-16 14:02:40 +00:00
array_accessor_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
array_accessor_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
array_accessor_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
as_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
as_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
as_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
assignment_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
assignment_statement.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
assignment_statement_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
binary_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
binary_expression.h Remove right shift arithmetic operand. 2020-06-03 16:11:44 +00:00
binary_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
binding_decoration.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
binding_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
binding_decoration_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
bool_literal.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
bool_literal.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
bool_literal_test.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
break_statement.cc Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
break_statement.h Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
break_statement_test.cc Remove conditional break/continue. 2020-06-03 16:11:28 +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 Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
builtin_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
builtin_decoration_test.cc Move tests into anonymous namespace. 2020-03-26 15:31:43 +00:00
call_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
call_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
call_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
call_statement.cc Add a call ast statement. 2020-07-21 13:42:05 +00:00
call_statement.h Add a call ast statement. 2020-07-21 13:42:05 +00:00
call_statement_test.cc Add a call ast statement. 2020-07-21 13:42:05 +00:00
case_statement.cc Rename case statement conditions to selectors. 2020-06-02 17:18:56 +00:00
case_statement.h Make case selectors an integer value 2020-06-02 20:12:02 +00:00
case_statement_test.cc Fix BUILD.gn based builds 2020-06-10 19:45:00 +00:00
cast_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
cast_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
cast_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
constructor_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
constructor_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
continue_statement.cc Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
continue_statement.h Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
continue_statement_test.cc Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
decorated_variable.cc [msl-writer] Add builtin support 2020-07-15 20:51:16 +00:00
decorated_variable.h [msl-writer] Add builtin support 2020-07-15 20:51:16 +00:00
decorated_variable_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
else_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
else_statement.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
else_statement_test.cc Remove NOP. 2020-05-26 15:05:54 +00:00
entry_point.cc Extend entry point to str testing 2020-03-10 19:18:29 +00:00
entry_point.h Add list helpers 2020-04-06 19:37:37 +00:00
entry_point_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
expression.cc Add type alias unwrapping methods 2020-06-22 20:30:33 +00:00
expression.h Update intrinsics in the grammar. 2020-06-01 13:43:22 +00:00
expression_test.cc [spirv-writer] Generate Unary Op expression. 2020-04-22 00:24:11 +00:00
fallthrough_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
fallthrough_statement.h Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
fallthrough_statement_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
float_literal.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
float_literal.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
float_literal_test.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
function.cc [msl-writer] Emit storage buffers. 2020-07-20 22:13:20 +00:00
function.h [msl-writer] Emit storage buffers. 2020-07-20 22:13:20 +00:00
function_test.cc Fix issues with BUILD.gn 2020-07-20 19:54:23 +00:00
identifier_expression.cc [ast] Avoid useless empty check 2020-04-20 18:36:29 +00:00
identifier_expression.h Cleanup IdentifierExpression API. 2020-04-20 14:21:00 +00:00
identifier_expression_test.cc Cleanup IdentifierExpression API. 2020-04-20 14:21:00 +00:00
if_statement.cc Remove premerge. 2020-04-14 14:46:58 +00:00
if_statement.h Cleanup lint errors. 2020-04-14 18:16:08 +00:00
if_statement_test.cc Remove NOP. 2020-05-26 15:05:54 +00:00
import.cc Add fuzzing target to BUILD.gn 2020-04-27 15:31:27 +00:00
import.h Add fuzzing target to BUILD.gn 2020-04-27 15:31:27 +00:00
import_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
int_literal.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
int_literal.h Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
int_literal_test.cc Make case selectors an integer value 2020-06-02 20:12:02 +00:00
intrinsic.cc Add type determination for the select intrinsic. 2020-07-21 17:44:44 +00:00
intrinsic.h [spirv-writer] Add support for derivatives. 2020-06-04 17:14:43 +00:00
kill_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
kill_statement.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
kill_statement_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
literal.cc Make case selectors an integer value 2020-06-02 20:12:02 +00:00
literal.h Make case selectors an integer value 2020-06-02 20:12:02 +00:00
location_decoration.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
location_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
location_decoration_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
loop_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
loop_statement.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
loop_statement_test.cc Remove NOP. 2020-05-26 15:05:54 +00:00
member_accessor_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
member_accessor_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
member_accessor_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
module.cc [msl-writer] Generate entry point functions. 2020-07-15 18:04:11 +00:00
module.h [msl-writer] Generate entry point functions. 2020-07-15 18:04:11 +00:00
module_test.cc [msl-writer] Generate entry point functions. 2020-07-15 18:04:11 +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
null_literal.cc [spirv-writer] Add null initializers where needed. 2020-05-05 14:21:19 +00:00
null_literal.h Cleanup formatting and linter. 2020-06-16 15:02:50 +00:00
null_literal_test.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +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
return_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
return_statement.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
return_statement_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
scalar_constructor_expression.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
scalar_constructor_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
scalar_constructor_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
set_decoration.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
set_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
set_decoration_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
sint_literal.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
sint_literal.h Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
sint_literal_test.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
statement.cc Add a call ast statement. 2020-07-21 13:42:05 +00:00
statement.h Add a call ast statement. 2020-07-21 13:42:05 +00:00
storage_class.cc Remove push constants. 2020-05-06 21:48:23 +00:00
storage_class.h Remove push constants. 2020-05-06 21:48:23 +00:00
struct.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +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 Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct_member.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct_member_decoration.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct_member_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct_member_offset_decoration.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct_member_offset_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
struct_member_offset_decoration_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
struct_member_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
struct_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
switch_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
switch_statement.h Remove conditional break/continue. 2020-06-03 16:11:28 +00:00
switch_statement_test.cc Make case selectors an integer value 2020-06-02 20:12:02 +00:00
type_constructor_expression.cc Support the zero initializer syntax. 2020-06-22 20:44:27 +00:00
type_constructor_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
type_constructor_expression_test.cc Support the zero initializer syntax. 2020-06-22 20:44:27 +00:00
uint_literal.cc Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
uint_literal.h Add IntLiteral parent for Sint and Uint literals. 2020-06-02 20:11:54 +00:00
uint_literal_test.cc Rename the IntLiteral to SintLiteral. 2020-06-02 20:11:44 +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 Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
unary_op_expression.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
unary_op_expression_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
variable.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
variable.h [spirv-writer] Only add used variables to entry point. 2020-06-22 20:52:24 +00:00
variable_decl_statement.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
variable_decl_statement.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
variable_decl_statement_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00
variable_decoration.cc Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
variable_decoration.h Remove suppressing [chromium-style] errors 2020-04-09 18:52:06 +00:00
variable_test.cc Adding support for testing BUILD.gn 2020-04-17 13:18:20 +00:00