dawn-cmake/src/tint
Ben Clayton 068eb3ebda tint: Fix HLSL texture queries and re-add textureNumLayers()
... overloads for texture cube arrays

FXC is telling porkies, when it says "The array element count
of GetDimensions on TextureCubeArray objects is unavailable
on ps_5_1".

The actual issue, as identified by Teodor Tanasoaia at Mozilla,
is that the argument needs to be unsigned.

In fact, *all* the texture queries should have used an unsigned
scalar or vector for the output value. This has been broken
forever!

This reverts commit bd9f6e6684.

Change-Id: I3e217bec17c6fd203cff618b143ebef3d8a61927
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122980
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2023-03-08 02:48:34 +00:00
..
ast tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
bench Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
builtin Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
cmd Reland "Add writer to emit the AST." 2023-03-07 18:28:38 +00:00
constant
diagnostic Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
fuzzers Fix #ifdefs for spvtools 2023-03-07 09:27:45 +00:00
inspector Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
ir Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
reader Use `absl::from_chars` instead of `strtod` 2023-03-07 18:20:23 +00:00
resolver tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
sem tint: Fix HLSL emission for out-of-order storage / uniform buffers 2023-03-06 15:43:16 +00:00
templates Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
text Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
transform tint/transform/robustness: Implement predicated mode 2023-03-06 21:05:01 +00:00
type Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
utils tint: Fix HLSL emission for out-of-order storage / uniform buffers 2023-03-06 15:43:16 +00:00
val
writer tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
BUILD.gn Reland "Add writer to emit the AST." 2023-03-07 18:28:38 +00:00
CMakeLists.txt Reland "Add writer to emit the AST." 2023-03-07 18:28:38 +00:00
OWNERS
castable.cc
castable.h
castable_bench.cc
castable_test.cc
clone_context.cc tint: Replace all remaining AST types with ast::Type 2023-02-14 13:52:43 +00:00
clone_context.h tint: Change CloneContext::Replace() to replace the map entry 2023-03-02 17:45:21 +00:00
clone_context_test.cc tint: Change CloneContext::Replace() to replace the map entry 2023-03-02 17:45:21 +00:00
debug.cc
debug.h Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
debug_test.cc
demangler.cc Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
demangler.h
demangler_test.cc
intrinsics.def tint: Fix HLSL texture queries and re-add textureNumLayers() 2023-03-08 02:48:34 +00:00
number.cc Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
number.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
number_test.cc Convert most remaining usages to utils::StringStream. 2023-02-28 22:22:58 +00:00
program.cc Split demangler to separate lib. 2023-02-15 04:35:01 +00:00
program.h tint: Replace all remaining AST types with ast::Type 2023-02-14 13:52:43 +00:00
program_builder.cc Split demangler to separate lib. 2023-02-15 04:35:01 +00:00
program_builder.h tint: Update constructor / conversion terminology 2023-02-22 20:04:40 +00:00
program_builder_test.cc tint: Replace all remaining AST types with ast::Type 2023-02-14 13:52:43 +00:00
program_id.cc
program_id.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
program_test.cc Move type::AddressSpace to builtin/ 2023-02-19 04:03:55 +00:00
reflection.h
reflection_test.cc
scope_stack.h tint/resolver: Reduce Hashmap fixed sizes for UA 2023-01-12 20:31:33 +00:00
scope_stack_test.cc
source.cc Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
source.h Generic template and forward in stringstream. 2023-03-02 21:28:45 +00:00
source_test.cc
symbol.cc
symbol.h
symbol_table.cc tint: optimize SymbolTable::New 2023-02-24 20:59:08 +00:00
symbol_table.h tint: optimize SymbolTable::New 2023-02-24 20:59:08 +00:00
symbol_table_test.cc
symbol_test.cc
test_main.cc
tint.cc
tint.natvis tint: Remove ast::Void 2023-02-07 21:28:09 +00:00
tint_gdb.py
tint_lldb.py
traits.h tint: Replace all remaining AST types with ast::Type 2023-02-14 13:52:43 +00:00
traits_test.cc tint: Add ast::TemplatedIdentifier 2023-02-03 13:24:18 +00:00