Implement textureLoad()

Bug: tint:140
Bug: tint:143
Bug: tint:144
Bug: tint:145
Bug: tint:146
Bug: tint:147
Change-Id: I8f41abac2e355c121e8868aa708ae51d0db87665
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34960
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
Ben Clayton
2020-12-09 15:57:00 +00:00
committed by Commit Bot service account
parent 7a0daa233d
commit 7f04e5c1e2
19 changed files with 3670 additions and 1578 deletions

View File

@@ -408,7 +408,7 @@ std::string GetGlslStd450FuncName(uint32_t ext_opcode) {
return "trunc";
default:
// TODO(dneto). The following are not implemented.
// TODO(dneto) - The following are not implemented.
// They are grouped semantically, as in GLSL.std.450.h.
case GLSLstd450RoundEven:
case GLSLstd450SAbs:

View File

@@ -235,10 +235,10 @@ class ParserImpl : Reader {
/// @returns true if parser is still successful.
bool RegisterExtendedInstructionImports();
// Returns true when the given instruction is an extended instruction
// for GLSL.std.450.
// @param inst a SPIR-V instruction
// @returns true if its an SpvOpExtInst for GLSL.std.450
/// Returns true when the given instruction is an extended instruction
/// for GLSL.std.450.
/// @param inst a SPIR-V instruction
/// @returns true if its an SpvOpExtInst for GLSL.std.450
bool IsGlslExtendedInstruction(const spvtools::opt::Instruction& inst) const;
/// Registers user names for SPIR-V objects, from OpName, and OpMemberName.