dawn-cmake/src/sem
Ben Clayton 053559d051 intrinsics: Add new struct form of modf(), frexp()
Implement these for all the writers.
SPIR-V reader not implemented (the old overloads weren't implemented either).

Deprecate the old overloads.

Fixed: tint:54
Change-Id: If66d26dbac3389ff604734f31b426abe47868b91
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59302
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-07-23 16:43:01 +00:00
..
array.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
array.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
atomic_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
atomic_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
atomic_type_test.cc sem: Add atomic type 2021-06-17 15:48:39 +00:00
binding_point.h Resolver: Validate resource binding decorations 2021-05-10 19:16:46 +00:00
block_statement.cc sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
block_statement.h sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
bool_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
bool_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
bool_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
call.cc [resolver]: Begin constant value evaluation 2021-07-13 12:18:13 +00:00
call.h Validate function call arguments 2021-06-09 20:17:59 +00:00
call_target.cc sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
call_target.h sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
constant.cc sem: Rename `Vector::size()` to `Vector::Width()` 2021-07-22 18:31:34 +00:00
constant.h [resolver]: Begin constant value evaluation 2021-07-13 12:18:13 +00:00
depth_texture_type.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
depth_texture_type.h Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
depth_texture_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
expression.cc [resolver]: Begin constant value evaluation 2021-07-13 12:18:13 +00:00
expression.h [resolver]: Begin constant value evaluation 2021-07-13 12:18:13 +00:00
external_texture_type.cc Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
external_texture_type.h Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
external_texture_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
f32_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
f32_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
f32_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
for_loop_statement.cc sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
for_loop_statement.h sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
function.cc sem: Add Owner() to sem::Parameter 2021-07-22 13:24:59 +00:00
function.h sem: Add Owner() to sem::Parameter 2021-07-22 13:24:59 +00:00
i32_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
i32_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
i32_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
if_statement.cc sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
if_statement.h sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
info.cc Rename sem_*.cc to *.cc 2021-04-19 15:20:03 +00:00
info.h diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
intrinsic.cc sem: Add Owner() to sem::Parameter 2021-07-22 13:24:59 +00:00
intrinsic.h sem: Add Owner() to sem::Parameter 2021-07-22 13:24:59 +00:00
intrinsic_test.cc intrinsics: textureSampleCompareLevel() 2021-06-14 15:29:34 +00:00
intrinsic_type.cc sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
intrinsic_type.cc.tmpl sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
intrinsic_type.h sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
intrinsic_type.h.tmpl sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
loop_statement.cc sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
loop_statement.h sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
matrix_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
matrix_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
matrix_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
member_accessor_expression.cc [resolver]: Begin constant value evaluation 2021-07-13 12:18:13 +00:00
member_accessor_expression.h Constify Type* constructor args for ast/sem classes 2021-04-22 15:34:13 +00:00
multisampled_texture_type.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
multisampled_texture_type.h Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
multisampled_texture_type_test.cc Have TypesBuilder::F32() return ast::F32 2021-05-19 19:51:22 +00:00
node.cc sem: Have sem::Type derive from sem::Node 2021-05-06 15:52:33 +00:00
node.h sem: Have sem::Type derive from sem::Node 2021-05-06 15:52:33 +00:00
parameter_usage.cc intrinsic-gen: Additional functionality 2021-06-03 09:16:14 +00:00
parameter_usage.cc.tmpl src/sem: Generate ParameterUsage from intrinsics.def 2021-06-01 10:00:10 +00:00
parameter_usage.h intrinsic-gen: Additional functionality 2021-06-03 09:16:14 +00:00
parameter_usage.h.tmpl src/sem: Generate ParameterUsage from intrinsics.def 2021-06-01 10:00:10 +00:00
pipeline_stage_set.h resolver: Validate pipline stage use for intrinsics 2021-06-03 16:07:34 +00:00
pointer_type.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
pointer_type.h Remove depreated APIs and WGSL 2021-07-06 10:20:19 +00:00
pointer_type_test.cc Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
reference_type.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
reference_type.h Remove depreated APIs and WGSL 2021-07-06 10:20:19 +00:00
reference_type_test.cc Add optional access to ptr<> 2021-06-04 22:17:37 +00:00
sampled_texture_type.cc diag: Add System enumerator to all diagnostics 2021-06-24 11:27:36 +00:00
sampled_texture_type.h Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
sampled_texture_type_test.cc Have TypesBuilder::F32() return ast::F32 2021-05-19 19:51:22 +00:00
sampler_type.cc Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
sampler_type.h Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
sampler_type_test.cc sem: Split sem::Variable into global, local and parameter 2021-07-22 13:24:59 +00:00
sem_array_test.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
sem_struct_test.cc intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
statement.cc sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
statement.h Resolver: Validation for continuing blocks 2021-07-17 18:09:26 +00:00
storage_texture_type.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
storage_texture_type.h wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
storage_texture_type_test.cc wgsl: Deprecate [[access]] decorations 2021-06-04 20:41:47 +00:00
struct.cc intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
struct.h intrinsics: Add new struct form of modf(), frexp() 2021-07-23 16:43:01 +00:00
switch_statement.cc sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
switch_statement.h sem: Add CompoundStatement 2021-07-14 09:44:41 +00:00
test_helper.h Move type/* files to sem/ directory 2021-04-19 22:54:43 +00:00
texture_type.cc Resolver: Add ast -> sem type resolving 2021-04-21 13:47:12 +00:00
texture_type.h Resolver: Add ast -> sem type resolving 2021-04-21 13:47:12 +00:00
texture_type_test.cc Remove duplicated tests on ast::TextureType 2021-05-21 19:40:23 +00:00
type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
type_manager.cc Move type/* files to sem/ directory 2021-04-19 22:54:43 +00:00
type_manager.h Move type/* files to sem/ directory 2021-04-19 22:54:43 +00:00
type_manager_test.cc Move type/* files to sem/ directory 2021-04-19 22:54:43 +00:00
type_mappings.h writer/hlsl: Simplify emission logic, clean up output 2021-06-16 09:19:36 +00:00
u32_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
u32_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
u32_type_test.cc Remove sem::AccessControl 2021-05-14 17:51:13 +00:00
variable.cc sem: Add Owner() to sem::Parameter 2021-07-22 13:24:59 +00:00
variable.h sem: Add Owner() to sem::Parameter 2021-07-22 13:24:59 +00:00
vector_type.cc sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
vector_type.h sem::Type: Replace GetDefaultAlignAndSize() with Size() and Align() 2021-07-22 18:56:54 +00:00
vector_type_test.cc sem: Rename `Vector::size()` to `Vector::Width()` 2021-07-22 18:31:34 +00:00
void_type.cc Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00
void_type.h Remove Clone() from sem::Types 2021-05-05 16:55:22 +00:00