wuying225 / softart

Automatically exported from code.google.com/p/softart
Other
0 stars 0 forks source link

Shaders need to support register-based allocation #258

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description:
  To instead current input data storage. It needs to work with D3D shader.

Original issue reported on code.google.com by wuye9036 on 12 Apr 2014 at 2:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This issue was updated by revision d3bb5b60d29b.

Remove unused vertex_shader_unit.

Original comment by wuye9036 on 5 Jun 2014 at 9:57

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 894d913f8305.

Added rfile.h.

Original comment by wuye9036 on 6 Jun 2014 at 12:58

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 718b19a2e771.

rfile.h is updated.

Original comment by wuye9036 on 10 Jun 2014 at 7:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This issue was updated by revision 389f11c35fa5.

Update rfile.h

Original comment by wuye9036 on 11 Jun 2014 at 12:58

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 6000872e80a1.

rfile.h is updated.

Original comment by wuye9036 on 11 Jun 2014 at 4:13

GoogleCodeExporter commented 9 years ago
This issue was updated by revision b6937ae79920.

Rename buffer_regs to buffer_rfile

Original comment by wuye9036 on 11 Jun 2014 at 11:38

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 5d048a5c99dd.

Added rfile.cpp,
Added rfile to project,
Fixed build errors of rfile.
Added advance_index to semantic_value
Added round_up to math.

Original comment by wuye9036 on 11 Jun 2014 at 11:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This issue was updated by revision d33a8ff40f8b.

Move some rfile implemenation into rfile.cpp.
Added reflector2 as prototype into project.
Remove some unused semantic log.

Original comment by wuye9036 on 17 Jun 2014 at 6:41

GoogleCodeExporter commented 9 years ago
This issue was updated by revision d707c7a498d6.

Update reflector2.

Original comment by wuye9036 on 18 Jun 2014 at 1:27

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 765e99db92ca.

Updated reflector2.

Original comment by wuye9036 on 18 Jun 2014 at 6:53

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 59b253bc915f.

Add member offset into semantic;
Updated reflector2.

Original comment by wuye9036 on 18 Jun 2014 at 6:53

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 509e85caadb7.

Updated reflector2.

Original comment by wuye9036 on 19 Jun 2014 at 1:09

GoogleCodeExporter commented 9 years ago
This issue was updated by revision a2746c04e994.

Rename rfile_categories::undetermined to offset.
Fixed compiling issues of reflector2.
Finished associate semantic-reg.

Original comment by wuye9036 on 19 Jun 2014 at 6:17

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 828ca4f302ef.

Refactor register-based reflector and register-based reflections.
Remove rfile.h, merge the content of file into shader_reflection and reflector2.
Merge class rfile_impl and reg_file into new reg_file class.
Rename rfile_categories to reg_categories.
Remove unused semantic files (ssa_*).

Original comment by wuye9036 on 20 Jun 2014 at 12:39

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 084f1d1d8112.

Fixed compilation bugs.

Original comment by wuye9036 on 8 Jul 2014 at 11:40

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 32181265f632.

Fixed some warnings.
Fixed some compilation and linking errors.

Original comment by wuye9036 on 9 Jul 2014 at 1:13

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 570675f04740.

Remove unused reflection_impl2.

Original comment by wuye9036 on 9 Jul 2014 at 4:17

GoogleCodeExporter commented 9 years ago
This issue was updated by revision ed4a54400a8a.

Improve tests for reflector2.
Fixed some bugs in reflector2.

Original comment by wuye9036 on 11 Jul 2014 at 6:22

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 117b6de77dbc.

Added output register allocation to reflection.
Now used registers of register file is presented by interval_set.

Original comment by wuye9036 on 12 Jul 2014 at 12:57

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 7ccb22a8cdab.

Fixed reflection semantics collection erros.
Added tests for output semantic finding.

Original comment by wuye9036 on 12 Jul 2014 at 12:57

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 837758d3c8c1.

Added tests for looking up register by semantics.

Original comment by wuye9036 on 12 Jul 2014 at 12:57

GoogleCodeExporter commented 9 years ago
This issue was updated by revision bfece0ce644e.

Added tests for semfn_par.svs.

Original comment by wuye9036 on 12 Jul 2014 at 12:57

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 773674e08246.

Added PSIZE into default semantics
Fixed ambigous of reg_name::advance
Added not_support_auto_semantic error info that old reflector can report it.
Fixed a total_size reset to zero bug in struct_layout::add_member.
Fixed some bugs of reg_name::advance incorrect usage.
Separate register interval tree to two trees:
   one is for detecting register location usage conflict;
   the other is used to virtual register to physical register mapping.
Fixed test suite name of abi_test
Added tests for automatic semantic propagating from aggregated variable to 
member.

Original comment by wuye9036 on 15 Jul 2014 at 4:45

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 912f5cac72c0.

Added some comments to reflector.
Extract reg_file::first_free_reg() from reg_file::alloc_auto_reg().
Now structure don't pad size if structure size is not 16-times.
Fixed bugs of semantic index computation while variable is larger than register.

Original comment by wuye9036 on 15 Jul 2014 at 6:08

GoogleCodeExporter commented 9 years ago
This issue was updated by revision e7a69bb50e5c.

Added diag support to reflector.
Now syntax/semantic errors could be shown.

Original comment by wuye9036 on 15 Jul 2014 at 7:04

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 4b3b62d1b953.

Use string_ref to instead string in literal suffix extraction.

Original comment by wuye9036 on 17 Jul 2014 at 1:34

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 245c03aa82ab.

Simplify fixed_string implementation with C++11 move/rvalue.
Remove mutable_string of fixed_string.
Thread-safety of fixed_string is same as 'int': shared read, exclusively write.

Original comment by wuye9036 on 17 Jul 2014 at 1:34

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 72795acdcf1f.

Added append into fixed_string.
Separate global and member flag in reflector::add_semantic to instead
     "global-as-member to prevent struct nest" hack.
Make BOOST_ERROR shows in jit_test.

Original comment by wuye9036 on 17 Jul 2014 at 1:34

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 76576f010c63.

Simplify code with C++11 'auto'.

Original comment by wuye9036 on 17 Jul 2014 at 1:34

GoogleCodeExporter commented 9 years ago
This issue was updated by revision b0eae7281b85.

Re-enable all tests in jit_test
Now any dimensions of array will mangling the name the same.

Original comment by wuye9036 on 18 Jul 2014 at 2:31

GoogleCodeExporter commented 9 years ago
This issue was updated by revision c4157d3082cd.

Remove unused code in cgs.
Row of matrix is always 16B aligned.

Original comment by wuye9036 on 18 Jul 2014 at 2:31

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 1e01fafea215.

Changed value_kinds and abis from namespace-enums to enum class.
Fixed some warnings in cg.
Rename create_c_or_llvm_ty to create_abi_ty.

Original comment by wuye9036 on 8 Aug 2014 at 2:05

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 90342803ae85.

Fixed error of numeric literal suffix extraction.

Original comment by wuye9036 on 13 Aug 2014 at 5:42

GoogleCodeExporter commented 9 years ago
This issue was updated by revision d5dbdd492ae8.

Register allocation is incompleted so disable it in pipeline compiler.

Original comment by wuye9036 on 15 Aug 2014 at 2:55

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 25937c3da24f.

Remove unused WTL infos.

Original comment by wuye9036 on 15 Aug 2014 at 3:26