Граф коммитов

3150 Коммитов

Автор SHA1 Сообщение Дата
Xiang Li fcba1d9c6b Support more than 1 primitive inputs for GS. (#71) 2017-02-07 13:59:13 -08:00
Tex Riddell f6d4581fc6 Merge branch 'integration' into val 2017-02-07 13:03:53 -08:00
Tex Riddell 74049c5852 Integrate: Fix to CATCH_CPP_ASSIGN_HRESULT and validation of named metadata 2017-02-07 13:02:37 -08:00
Xiang Li 5091d4f189 Add default for switch to avoid warnings. (#70) 2017-02-07 11:34:34 -08:00
Tex Riddell a3e0b5828d ContainerAssembler and Validation fixes.
- zero DxilProgramSignatureElement to prevent garbage in signature
- rewrite bitcode when stripping root signature
- use correct part when reading debug module in ValidateDxilContainer
- report general error message when signature validation fails
2017-02-03 19:04:02 -08:00
Young Kim 3a24e158ef Fixing Dxc Options (#4)
* Clean up dxc options:

setrootsignature, setprivate :
 Allow replacing existing rootsignature or private data and make a new container with new parts
(e.g dxc /dumpbin private.dxil /setprivate private.data /Fo private.new.dxil)

extractrootsignature:
Make it back compatible with fxc by returning dxil container with RTS0 part only and having the user to provide /Fo option.

Other Options:
For unimplemented options that was from fxc, ignore those options and proceed given operation.
For unimplemented options that was not from fxc, remove them for now.
Add more test cases for dxc command line operations.
Fix ISenseOption flag to have valid HLSL version check for dxc (disable 2015)

* Fix Preprocess option for dxc
Fix hcttestcmd for testing invalid rootsignature
2017-02-03 15:49:45 -08:00
Xiang Li 7b998429f3 Disable race condition check (#3)
* Write thread group uniform value will not cause race condition.

* Only report race condition when know the data is not uniform.

* Disable race condition check.
2017-02-03 15:37:57 -08:00
Tex Riddell 3e0e6e5e23 Fix break in HLModule. 2017-02-03 15:04:17 -08:00
Tex Riddell 9fe61f42a2 Remove old kDxilRootSignatureTag. 2017-02-03 14:45:19 -08:00
Tex Riddell 0647154af0 Move Signature metadata to named node and some other cleanup. 2017-02-03 14:28:21 -08:00
Tex Riddell 2444ae3b10 Add DxcValidatorFlags_RootSignatureOnly. 2017-02-03 12:28:57 -08:00
Tex Riddell 4fbd33a449 Merge pull request #60 from tex3d/integration
Merge opcode and dxc options changes to dxil-v1.0
2017-02-03 10:58:57 -08:00
Xiang Li 4072c971dd Don't need store the return val after call. (#64) 2017-02-03 10:37:21 -08:00
Tex Riddell 7c2c2c5d54 More RootSignature validation fixes.
- Implement RootSignatureHandle::Deserialize()
- Fix/clean up validation usage
2017-02-03 00:08:08 -08:00
Tex Riddell 6de3365aa2 Fix RootSignature Validation bugs. 2017-02-02 20:54:35 -08:00
Tex Riddell 7beaa7ba54 Implement DXIL Container validation
- Implement and centralize container validation components in DxilValidation
- Strip RootSignature from module metadata before serializing to container
- Use existing DxilModule when serializing rather than constructing new one
- Add DxilModule::TryGetDxilModule for capturing diagnostics on metadata load
- Expose DxilPartWriters/DxilContainerWriter for use elsewhere (such as in validation)
2017-02-02 19:59:13 -08:00
Yuri Dotsenko b0936e9395 Before Tex's rebase. 2017-02-02 19:58:03 -08:00
Xiang Li f43f396598 Use i32 to fake 64bit for buffer load/store. (#63) 2017-02-02 17:48:43 -08:00
Xiang Li 199aa5a0b5 Keep debug info for handle created by local resource. (#61)
* Keep debug info for handle created by local resource.

* Add IsResourceAlloc to share code.
2017-02-02 17:00:39 -08:00
Yuri Dotsenko 67af2429a4 Partially ported RootSignatureVerifier::VerifyShader and VerifyRootSignatureWithShaderPSV 2017-02-02 16:08:35 -08:00
Yuri Dotsenko 66ba69688e Adding root signature deserialization 2017-02-01 20:09:19 -08:00
Tex Riddell 9c3fd76579 Fix break in DxilOperations from merge. 2017-02-01 16:12:27 -08:00
Tex Riddell c18ed9133e Merge remote-tracking branch 'ms/dxil-v1.0' into integration 2017-02-01 15:43:43 -08:00
Tex Riddell 797548781c Integrate final opcode changes for DXIL v1.0
- Removes IAddc and ISubc
- Renames USubc to USubb
- Compacts opcodes
2017-02-01 15:22:29 -08:00
Young Kim cf1e959eda fixing issue with DxilContainerBuilder tests (#2)
Fix ASSERT from CComPtr by adding Release() calls before reusing IDxcOperationResult
2017-02-01 14:39:36 -08:00
Tex Riddell 04e285da1e Merge pull request #1 from youngkim93/kiyoung-dxcoptions
Adding options for dxc
2017-02-01 12:14:55 -08:00
Xiang Li 3c7734c7da Support vector indexing on output. (#55) 2017-02-01 10:55:26 -08:00
Xiang Li 54ab549807 Support line and lineadj for GS. (#57) 2017-02-01 10:55:08 -08:00
mrvux ee10ad4224 Modify dxc header generator to use unsigned char instead of BYTE (#59)
Using the BYTE typedef for generated code forces including windows headers to compile the generated code. Using unsigned char we can compile without additional header dependencies.
2017-02-01 09:40:54 -08:00
Young Kim 5a916c56d9 Adding options for dxc
- Update command line options of dxc
    (Qstrip_debug, Qstrip_priv, Qstrip_rootsignature, setrootsignature, getprivate, setprivate)
  - Add IDxcContainerBuilder API and its implementation
  - Resolve lifetime of dxil.dll on dxcompiler.dll to guarantee access of memory generated from dxil.dll
2017-01-31 17:56:38 -08:00
Xiang Li 26550b7bf4 CheckForModifiableLvalue for CompoundAssignOperator. (#58) 2017-01-31 16:09:35 -08:00
Xiang Li aa3313c767 Fix checkin issue. (#56) 2017-01-31 12:42:45 -08:00
Mark Herdeg 2040bffbb2 Revert "Merge remote-tracking branch 'refs/remotes/origin/dxil-v1.0'"
This reverts commit 27a00a9fdc, reversing
changes made to 1f256e15d3.

Revert mistaken merge commit.
2017-01-31 14:28:50 -05:00
Mark Herdeg 27a00a9fdc Merge remote-tracking branch 'refs/remotes/origin/dxil-v1.0' 2017-01-31 13:46:27 -05:00
Tex Riddell 13d3d39718 Merge pull request #44 from tex3d/integration
Fix validation test issues found during integration
2017-01-30 18:45:24 -08:00
Xiang Li 54bb69d607 Use metadata for precise on function call. (#51) 2017-01-30 18:41:33 -08:00
Xiang Li cf6f8beb4b Check Race Condition for TGSM (#48) 2017-01-30 16:09:31 -08:00
Xiang Li 06624f8991 Only allow dxil struct on ExtractVal. (#49) 2017-01-30 14:56:00 -08:00
Xiang Li ac228c5aa4 Translate AddUint64. (#47) 2017-01-30 12:30:25 -08:00
Tex Riddell 3bcc42ff10 Merge branch 'master' into dxil-v1.0 2017-01-27 17:18:24 -08:00
Tex Riddell 1f256e15d3 Merge pull request #45 from tex3d/license
fixes #37 - License cleanup.
2017-01-27 17:17:00 -08:00
Tex Riddell af6b2a552f fixes #37 - License cleanup. 2017-01-27 16:48:08 -08:00
Tex Riddell 386e2edf52 Fix some validation tests due to IR mismatches with NDEBUG
- Fix some validation test failures due to value index
  changes caused by NDEBUG.  Some issues remain and
  will need to be resolved in subsequent change.
2017-01-27 15:31:03 -08:00
Xiang Li 86b7e6ef9d Struct for normal buf (#43)
* Support sturct in none-struct buffer.

* More tests for sturct in none-struct buffer.

* Simplify the test and use them.
2017-01-27 14:42:35 -08:00
Xiang Li e1f6fdbc19 Put createHandle for CBuffer to entry block when possible. (#42) 2017-01-26 18:09:50 -08:00
Tex Riddell 8df766a7cb Undo change to hcttest-samples.py re: d3d12warp 2017-01-25 17:12:17 -08:00
Tex Riddell e294996b0e Merge pull request #40 from Microsoft/master
- Clean up mistakes made when fixing copyright banners.
2017-01-25 15:04:28 -08:00
Tex Riddell 081bb77b11 Merge pull request #39 from tex3d/banner_cleanup
Clean up mistakes made when fixing copyright banners.
2017-01-25 14:58:46 -08:00
Tex Riddell 31bbfbf19a Merge pull request #38 from Microsoft/master
Fixes #29 Build scripts misbehave when relative paths are used in hct…
2017-01-25 14:44:01 -08:00
Tex Riddell e077864885 Clean up mistakes made when fixing copyright banners. 2017-01-25 14:36:50 -08:00